=> 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 Building Documentation For: Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH menuselect/menuselect --check-deps menuselect.makeopts /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/pkgsrc.makeopts Unknown value '' found in build_tools/menuselect-deps for NATIVE_ARCH channels Generating embedded module rules ... pbx apps codecs formats cdr cel [CC] eagi-test.c -> eagi-test.o [CC] pbx_config.c -> pbx_config.o [CC] pbx_loopback.c -> pbx_loopback.o [CC] chan_iax2.c -> chan_iax2.o bridges [CC] bridge_builtin_features.c -> bridge_builtin_features.o [CC] astcanary.c -> astcanary.o [CC] cdr_manager.c -> cdr_manager.o [CC] pbx_dundi.c -> pbx_dundi.o [CC] func_global.c -> func_global.o [CC] app_waituntil.c -> app_waituntil.o [CC] res_timing_kqueue.c -> res_timing_kqueue.o [CC] format_sln16.c -> format_sln16.o [CC] cel_manager.c -> cel_manager.o [CC] abstract_jb.c -> abstract_jb.o funcs [CC] anaFilter.c -> anaFilter.o tests main res 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_lockIn file included from ^ 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: app_waituntil.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:3721: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::127: 23In 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.h:: In file included from 557:9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23warning: : 'pthread_mutex_unlock' 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_unlock use_ast_mutex_unlock_instead_of_pthread_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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 558 ^ :9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :343:9: note: previous definition is here #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock#define pthread_mutex_lock __libc_mutex_lock ^ ^ /usr/include/pthread.h:In file included from 344app_waituntil.c::937: note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /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 ^: 557:9In file included from :cel_manager.c warning:40: : In file included from 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: ^warning : /usr/include/pthread.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 345:9: note: previous definition is here #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ #define pthread_mutex_unlock __libc_mutex_unlock/usr/include/pthread.h: 342 ^: 9: In file included from noteapp_waituntil.c: previous definition is here :37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: #define pthread_mutex_init __libc_mutex_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcel_manager.c::55840:9: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hwarning:: 127'pthread_mutex_trylock' 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:560:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock9 : ^ /usr/include/pthread.hwarning:: 344'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_trylock __libc_mutex_trylock ^ /usr/include/pthread.h:346 ^: 9:In file included from app_waituntil.cnote:: 37previous definition is here : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21#define pthread_mutex_destroy __libc_mutex_destroy: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23In file included from : cel_manager.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::40: 559In file included from :/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.h :warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: ^ warning: /usr/include/pthread.h:'pthread_cond_init' macro redefined [-Wmacro-redefined]342 :9: note: previous definition is here #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^#define pthread_mutex_init __libc_mutex_init /usr/include/pthread.h ^: 366:9:In file included from noteapp_waituntil.c: :previous definition is here37 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: #define pthread_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.hcel_manager.c::56040:9: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127warning: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] :21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9#define pthread_mutex_destroy __libc_mutex_destroy: ^note : In file included from previous definition is hereapp_waituntil.c :37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_destroy __libc_cond_destroy21 : In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: 23: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcel_manager.c::56140:: 9In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hwarning:: 'pthread_cond_init' macro redefined [-Wmacro-redefined]127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.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_init use_ast_cond_init_instead_of_pthread_cond_init warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:366:9: note: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalprevious definition is here ^ /usr/include/pthread.h:367:9:#define pthread_cond_init __libc_cond_init ^ note: In file included from app_waituntil.c:previous definition is here37 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_signal __libc_cond_signal:21 : ^ In file included from In file included from cel_manager.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::40: 23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::127562: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :warning: 21: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy : ^'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:#define pthread_cond_destroy __libc_cond_destroy368 : ^ 9:In file included from app_waituntil.cnote:: 37previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_broadcast __libc_cond_broadcast:23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 563:9In file included from :cel_manager.c :warning40: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal 565 ^ :/usr/include/pthread.h:9367:: 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_signal __libc_cond_signal ^ ^/usr/include/pthread.h :369In file included from :app_waituntil.c9:: 37note: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hprevious definition is here: 127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_cond_wait __libc_cond_wait 23 ^ : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :cel_manager.c564::409: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hwarning:: 127: '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:566:9: #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast warning ^: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :368: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_broadcast __libc_cond_broadcast:370 : ^9 :In file included from app_waituntil.cnote:37: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_timedwait __libc_cond_timedwait: 21 ^ : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 In file included from bridge_builtin_features.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::42750: : 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/module.h::93531:: 10In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.harray subscript is of type 'char' [-Wchar-subscripts]: 935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60/usr/include/sys/ctype_inline.h::4660:: 46note:: expanded from macro 'toupper' note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h : ^52 :47/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h: :note52: expanded from macro 'AST_INLINE_API': 47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ # 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:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hIn file included from :bridge_builtin_features.c52::4247: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hnote:In file included from : 31cel_manager.cexpanded from macro 'AST_INLINE_API': 40: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h# define AST_INLINE_API(hdr, body) inline hdr body:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h750 :: ^~~~144/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h : :In file included from 994/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::2230:: 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]750 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: hash = hash * 33 ^ tolower(*str++); warning ^~~~~~~~~~~~~~~ : /usr/include/sys/ctype_inline.harray subscript is of type 'char' [-Wchar-subscripts]: 59:46: note: expanded from macro 'tolower' hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))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:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from pbx_dundi.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ addons 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)])) ^~~~ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from abstract_jb.c:40: [CC] func_aes.c -> func_aes.o In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 ^ 13 warnings generated. In file included from chan_iax2.c:6113: warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hs: generated. 556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 [CC] constants.c -> constants.o ^ 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 ^ [CC] cel_custom.c -> cel_custom.o [CC] app_sms.c -> app_sms.o 13 warnings generated. 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 ^ [CC] bridge_simple.c -> bridge_simple.o 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:In file included from 563:9:pbx_loopback.c :warning35: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 556 ^: 9/usr/include/pthread.h:: 367warning:: 9'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: 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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 28 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h343::5649::9 :note : warningprevious definition is here: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock __libc_mutex_lock ^ In file included from pbx_loopback.c:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast35 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127368: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning#define pthread_cond_broadcast __libc_cond_broadcast: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] ^ 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: #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: ^36 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h345::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note565: :previous definition is here9 : warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from pbx_loopback.c:35#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: 127In file included from : abstract_jb.cIn file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::41:21: 369In file included from : :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from 9::144 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hprevious definition is here:30 : /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/utils.h::75023: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h#define pthread_cond_wait __libc_cond_wait: 935 ^: 10/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from format_sln16.c:warning:: 558array subscript is of type 'char' [-Wchar-subscripts]34 : :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:: 28warning: : 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h *pos = toupper(*pos);: 36 ~~~~~~~^~~~~~~~~~~~~~ : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23/usr/include/sys/ctype_inline.h: :#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.h60: 566: ^46::9 :note /usr/include/pthread.h: :expanded from macro 'toupper'344warning : :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]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#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: expanded from macro 'AST_INLINE_API'#define pthread_mutex_trylock __libc_mutex_trylock ^ ^ /usr/include/pthread.h:# define AST_INLINE_API(hdr, body) inline hdr body 370 ^~~~In file included from pbx_loopback.c::935:: In file included from note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hprevious definition is here: 127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 :559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from abstract_jb.cIn file included from :pbx_loopback.c41: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h35:: 144In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h127:: 30: 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/utils.h::21750: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h994::2223:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: 560array subscript is of type 'char' [-Wchar-subscripts]: 9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))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 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] In file included from chan_iax2.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: 144 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::342:309: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hnote: :previous definition is here750 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning#define pthread_mutex_init __libc_mutex_init: array subscript is of type 'char' [-Wchar-subscripts] ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: *pos = toupper(*pos);'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy46 : ^ note/usr/include/pthread.h: :expanded from macro 'toupper'346 :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_destroy __libc_mutex_destroy52 : ^47 : In file included from noteres_timing_kqueue.c: :38expanded from macro 'AST_INLINE_API': In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 AST_INLINE_API(hdr, body) inline hdr body: 32 ^~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.hIn file included from :chan_iax2.c371::639: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 144previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750#define pthread_cond_destroy __libc_cond_destroy: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994 ^: 22:In file included from res_timing_kqueue.cwarning:: 38array 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:32 hash = hash * 33 ^ tolower(*str++);: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^~~~~~~~~~~~~~~: 563:/usr/include/sys/ctype_inline.h9::59 :warning46: :'pthread_cond_signal' macro redefined [-Wmacro-redefined] note: expanded from macro 'tolower' #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^ ^~~~ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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: noteIn file included from : expanded from macro 'AST_INLINE_API' cdr_manager.c:38: # 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:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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:23In file included from : res_timing_kqueue.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::38557: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:: 31warning: : In file included from 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: array subscript is of type 'char' [-Wchar-subscripts] ^ /usr/include/pthread.h:345:9: hash = hash * 33 ^ tolower(*str++); note ^~~~~~~~~~~~~~~: previous definition is here/usr/include/sys/ctype_inline.h :59:46: note: #define pthread_mutex_unlock __libc_mutex_unlockexpanded from macro 'tolower' ^ In file included from cdr_manager.c:38#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): In file included from ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from format_sln16.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :pbx_config.c31:: 37In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h750:: 26/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h935::144: 10:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hwarning:: 30array subscript is of type 'char' [-Wchar-subscripts]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: *pos = toupper(*pos);array subscript is of type 'char' [-Wchar-subscripts] ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note *pos = toupper(*pos);: expanded from macro 'toupper' ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): 46 ^: note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hexpanded from macro 'toupper': 52:47: 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 format_sln16.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] In file included from hash = hash * 33 ^ tolower(*str++);pbx_config.c : ^~~~~~~~~~~~~~~37 : In file included from /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::5926:: 46In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :144note: : In file included from expanded from macro 'tolower'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h :30: In file included from /data/scratch/comms/asterisk18/work/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)])) ^~~~ 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)])) ^~~~ 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 ^ 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)) ^~~~ 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] In file included from hash = hash * 33 ^ tolower(*str++);func_global.c : ^~~~~~~~~~~~~~~38 : /usr/include/sys/ctype_inline.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h59::3146: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hnote:: 750expanded from macro 'tolower': /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] #define 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 ^~~~ pbx_config.c:346:17: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*c && isdigit(*c)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ In file included from 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)])) ^~~~ [LD] astcanary.o -> astcanary 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 [CC] eagi-sphinx-test.c -> eagi-sphinx-test.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] format_g729.c -> format_g729.o 13 warnings generated. [CC] res_smdi.c -> res_smdi.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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cel_custom.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] iax2-parser.c -> iax2-parser.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)])) ^~~~ 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:913: warning snote generated. : 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: [CC] acl.c -> acl.o /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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] createCB.c -> createCB.o 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:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [CC] f2clib.c -> f2clib.o [CC] cdr_custom.c -> cdr_custom.o In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from bridge_simple.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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] 13#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock warning s ^ generated. /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 ^ [CC] format_vox.c -> format_vox.o In file included from app_sms.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_sms.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o 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)) ^~~~ [CC] func_devstate.c -> func_devstate.o app_sms.c:754:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(*i)) { /* ignore non-digits */ ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ app_sms.c:803:12: warning: implicit conversion from 'int' to 'char' changes value from 191 to -65 [-Wconstant-conversion] *p++ = 191; ~ ^~~ app_sms.c:844:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isalnum(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ app_sms.c:845:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *p = tolower (*p); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ app_sms.c:848:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*p)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ app_sms.c:864:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*p)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ app_sms.c:912:12: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:912:28: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:912:46: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:912:64: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:914:13: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 12) + ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:915:13: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)) << 8) + ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:916:13: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(p[2]) ? 9 : 0) + (p[2] & 0xF)) << 4) + ((isalpha(p[3]) ? 9 : 0) + (p[3] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:916:62: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(p[2]) ? 9 : 0) + (p[2] & 0xF)) << 4) + ((isalpha(p[3]) ? 9 : 0) + (p[3] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:929:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:929:27: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:930:24: warning: array subscript is of type 'char' [-Wchar-subscripts] h->ud[o++] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:930:69: warning: array subscript is of type 'char' [-Wchar-subscripts] h->ud[o++] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:944:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:944:27: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:945:23: warning: array subscript is of type 'char' [-Wchar-subscripts] h->udh[o] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:945:68: warning: array subscript is of type 'char' [-Wchar-subscripts] h->udh[o] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ 13 warnings generated. app_sms.c:1919:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isalnum(*p)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ [CC] bridge_softmix.c -> bridge_softmix.o chan_iax2.c:1805:33: warning: unused function 'user_ref' [-Wunused-function] static inline struct iax2_user *user_ref(struct iax2_user *user) ^ [CC] strcompat.c -> strcompat.o 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.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:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_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_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_g729.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] analys.c -> analys.o In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/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 format_g729.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_g729.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_smdi.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from iax2-parser.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from iax2-parser.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ res_smdi.c:731:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit((c = fgetc(iface->file)))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ In file included from 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. 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:9In file included from : cdr_custom.cnote:: 44previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: #define pthread_mutex_lock __libc_mutex_lockIn file included from /data/scratch/comms/asterisk18/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 :acl.c556::499: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hwarning:: 127'pthread_mutex_lock' 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:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ ^ /usr/include/pthread.h:345:9: note: previous definition is here/usr/include/pthread.h :343:9: note: previous definition is here#define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from acl.c:49: #define pthread_mutex_lock __libc_mutex_lockIn 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.hcdr_custom.c::2144: : 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.h23:: 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 558/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::921: warning: : In file included from 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345: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:#define pthread_mutex_unlock __libc_mutex_unlock127 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from In file included from cdr_custom.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h44:: 23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::559127:: 9:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning:: 21'pthread_mutex_init' 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:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9#define pthread_mutex_init __libc_mutex_init: ^note : previous definition is here 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 #define pthread_mutex_trylock __libc_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h : ^21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :cdr_custom.c23:44: : /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::9127:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: ^note : /usr/include/pthread.hprevious definition is here: 342:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from acl.c#define pthread_mutex_init __libc_mutex_init: 49: ^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.hcdr_custom.c::2144: : 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.h561::921:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_cond_init' macro redefined [-Wmacro-redefined]23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:#define pthread_cond_init __libc_cond_init 346 ^: 9:In file included from acl.cnote:: 49previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: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 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562In file included from :cdr_custom.c9::44 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_cond_destroy' 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: /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_destroy561 : ^9 :/usr/include/pthread.h :warning371: :'pthread_cond_init' macro redefined [-Wmacro-redefined]9 : note: previous definition is here #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init #define pthread_cond_destroy __libc_cond_destroy ^ ^ /usr/include/pthread.h:366:In file included from 9acl.c:: 49note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_init __libc_cond_init21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23cdr_custom.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h44:: 563In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h'pthread_cond_signal' macro redefined [-Wmacro-redefined]: 21: In file included from /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 : ^562 :/usr/include/pthread.h9::367 :warning9: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined] note: previous definition is here #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy#define pthread_cond_signal __libc_cond_signal ^ ^ /usr/include/pthread.hIn file included from :acl.c371::499: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 127previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: #define pthread_cond_destroy __libc_cond_destroywarning : ^'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] 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#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::36823:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 563note:: 9previous definition is here: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from acl.c#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal : ^49 : /usr/include/pthread.hIn file included from :367/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :21previous 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:565#define pthread_cond_signal __libc_cond_signal: 9 ^: warning: In file included from 'pthread_cond_wait' macro redefined [-Wmacro-redefined]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 #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/astobj2.h : ^21 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h369::239: : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here564 :9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #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#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ^: 21/usr/include/pthread.h: :In file included from 368/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:: 566previous definition is here: 9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_custom.c:44: #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/channel.h/usr/include/pthread.h::127370: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21note: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9#define pthread_cond_timedwait __libc_cond_timedwait : ^ warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 ^ [CC] bridge_multiplexed.c -> bridge_multiplexed.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from acl.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]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#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: 556 ^: 9/usr/include/pthread.h:: 344:warning9: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined] note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cel_sqlite3_custom.c#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 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/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h343::5599::9 note: : warningprevious definition is here: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock __libc_mutex_lock ^ In file included from #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initstrcompat.c : ^38 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h342:32:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::557 :note9:: previous definition is herewarning : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_init __libc_mutex_init ^ In file included from cel_sqlite3_custom.c:#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock49 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127345: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9:#define pthread_mutex_unlock __libc_mutex_unlock warning ^: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] 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:#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy9 : ^ warning/usr/include/pthread.h: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]346: 9: note: previous definition is here #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^#define pthread_mutex_destroy __libc_mutex_destroy /usr/include/pthread.h ^:344: 9:In file included from cel_sqlite3_custom.cnote:: 49previous definition is here : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_mutex_trylock __libc_mutex_trylock: 21: ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23strcompat.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h38:: 561In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::9:32 warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_init' macro redefined [-Wmacro-redefined] :559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initnote : ^previous definition is here /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cel_sqlite3_custom.c:49#define pthread_mutex_init __libc_mutex_init: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127In file included from : strcompat.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h38:21: In 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.h32:: 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562560::99:: warningwarning: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ ^ /usr/include/pthread.h/usr/include/pthread.h::371:3469: note: :9:previous definition is here note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ #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.hIn file included from :strcompat.c127: :In file included from 38/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/utils.h:: 32In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::23561: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::563 :warning: 9'pthread_cond_init' macro redefined [-Wmacro-redefined]: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal366 :9 ^: /usr/include/pthread.hnote:: 367previous definition is here: 9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from strcompat.c:#define pthread_cond_signal __libc_cond_signal38 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:In file included from 32cel_sqlite3_custom.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h49:: 562In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:'pthread_cond_destroy' macro redefined [-Wmacro-redefined]21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy warning : ^ 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :371:9: note: previous definition is here #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ #define pthread_cond_destroy __libc_cond_destroy/usr/include/pthread.h : ^368 :9In file included from strcompat.c:: 38note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: #define pthread_cond_broadcast __libc_cond_broadcastwarning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^ 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 #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/astobj2.h : ^21 : /usr/include/pthread.h:In file included from 367/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923: : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here565: 9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #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:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait 32 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::564369::99:: note: warningprevious definition is here: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_wait __libc_cond_wait ^ In file included from cel_sqlite3_custom.c:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast 49 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::368127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: 21note: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566#define pthread_cond_broadcast __libc_cond_broadcast : ^9 :In file included from strcompat.cwarning:: 38'pthread_cond_timedwait' 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:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_waitprevious definition is here ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ #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 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 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 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 bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9:13 warnings generated. warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcastIn file included from format_vox.c: ^ 36: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hbridge_softmix.c::3148: : 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::750: 31/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: :In file included from 935/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:10::32 : 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: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 ^ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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.cIn file included from :format_vox.c49:: 36In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h144:: 31In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h30:: 750In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::750994: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h22::935 :warning10: :array subscript is of type 'char' [-Wchar-subscripts] warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59 *pos = toupper(*pos);: 46 ~~~~~~~^~~~~~~~~~~~~~: note/usr/include/sys/ctype_inline.h: :expanded from macro 'tolower'60 :46: note: expanded from macro 'toupper'#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] func_sprintf.c -> func_sprintf.o 13 warnings generated. In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] doCPLC.c -> doCPLC.o [LD] eagi-sphinx-test.o -> eagi-sphinx-test cel_sqlite3_custom.c:64:19: warning: unused variable 'name' [-Wunused-const-variable] static const char name[] = "cel_sqlite3_custom"; ^ 15 warnings generated. [CC] bsynz.c -> bsynz.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 ^13 warnings generated. In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_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] [LD] eagi-test.o strcompat.o -> eagi-test #define pthread_cond_timedwait use_ast_cond_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_wav.c -> format_wav.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:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 13 warnings generated. [CC] cdr_csv.c -> cdr_csv.o 13 warnings generated. [CC] adsi.c -> adsi.o [CC] src/add.c -> src/add.o [CC] iax2-provision.c -> iax2-provision.o 13 warnings generated. [CC] format_gsm.c -> format_gsm.o In file included from func_sprintf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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)])) ^~~~ 14 warnings generated. [LD] cel_manager.o -> cel_manager.so 13 warnings generated. [LD] bridge_builtin_features.o -> bridge_builtin_features.so [LD] cel_custom.o -> cel_custom.so In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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] In file included from #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ format_wav.c:/usr/include/pthread.h:35343: :In file included from 9/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#define pthread_mutex_lock __libc_mutex_lock: ^23 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hadsi.c::26556: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::557 warning:: 9'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ #define pthread_mutex_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:/usr/include/pthread.h558::3439::9 :warning : note'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] : previous definition is here #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ #define pthread_mutex_lock __libc_mutex_lock/usr/include/pthread.h: 344 ^: 9: In file included from noteformat_wav.c: previous definition is here: 35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28#define pthread_mutex_trylock __libc_mutex_trylock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :In file included from 36adsi.c:: 26In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::23559:9: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning557: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]9 : warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockprevious definition is here ^ /usr/include/pthread.h:#define pthread_mutex_init __libc_mutex_init 345 ^: 9In file included from :adsi.c :note26: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_wav.c#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: 35 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::34628:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :note36: : 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:558#define pthread_mutex_destroy __libc_mutex_destroy: 9 ^: In file included from warningadsi.c: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]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_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.h9:366:: 9note:: previous definition is herenote : previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock#define pthread_cond_init __libc_cond_init ^ ^In file included from adsi.c:In file included from 26format_wav.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h35:: 562:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:: 28warning: : In file included from 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy [CC] chanwr.c -> chanwr.o : ^559 :/usr/include/pthread.h9::371: 9warning:: note'pthread_mutex_init' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initIn file included from adsi.c ^: 26/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h342::5639::9 :note warning: : previous definition is here'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_mutex_init __libc_mutex_init #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ ^ /usr/include/pthread.hIn file included from :format_wav.c367::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: #define pthread_cond_signal __libc_cond_signalIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23In file included from : adsi.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::26560: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::564: 9warning:: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ ^/usr/include/pthread.h :/usr/include/pthread.h:346368::99:: notenote: : previous definition is hereprevious definition is here #define pthread_mutex_destroy __libc_mutex_destroy#define pthread_cond_broadcast __libc_cond_broadcast ^ ^ In file included from format_wav.cIn file included from :adsi.c:3526: : 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/mod_format.h::56528:: 9In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hwarning:: 36'pthread_cond_wait' macro redefined [-Wmacro-redefined] : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 561 ^ :/usr/include/pthread.h9::369: 9warning:: 'pthread_cond_init' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_cond_wait __libc_cond_wait ^ #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initIn file included from adsi.c ^: 26/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h366::5669::9 :note : warningprevious definition is here: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_init __libc_cond_init ^#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ In file included from /usr/include/pthread.hformat_wav.c::37035:9: : In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :previous definition is here 28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from #define pthread_cond_timedwait __libc_cond_timedwait /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_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 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 ^~~~ 13 warnings generated. In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/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_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.h13: warning30s: 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: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] func_sysinfo.c -> func_sysinfo.o [CC] codec_alaw.c -> codec_alaw.o In file included from format_wav.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 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 ^ [CC] enhancer.c -> enhancer.o [CC] src/code.c -> src/code.o [LD] bridge_simple.o -> bridge_simple.so 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)])) ^~~~ [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so 11 warnings generated. 14 warnings generated. [CC] alaw.c -> alaw.o [CC] res_convert.c -> res_convert.o 13 warnings generated. 13 warnings generated. [CC] app_alarmreceiver.c -> app_alarmreceiver.o [LD] bridge_softmix.o -> bridge_softmix.so [CC] cdr_syslog.c -> cdr_syslog.o [CC] dundi-parser.c -> dundi-parser.o 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 ^ 37 warnings generated. In file included from func_sysinfo.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_sysinfo.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] res_config_ldap.c -> res_config_ldap.o 13 warnings generated. [CC] dcbias.c -> dcbias.o [LD] bridge_multiplexed.o -> bridge_multiplexed.so 13 warnings generated. In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^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] format_ilbc.c -> format_ilbc.o In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_alaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] chan_sip.c -> chan_sip.o 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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_convert.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] func_pitchshift.c -> func_pitchshift.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 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: 13In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hs: generated. 31: In file included from /data/scratch/comms/asterisk18/work/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 ^ [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o [CC] func_curl.c -> func_curl.o In file included from app_alarmreceiver.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_alarmreceiver.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:In file included from 750cdr_syslog.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h39:: 994In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h22::31 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.harray subscript is of type 'char' [-Wchar-subscripts]: 750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935: hash = hash * 33 ^ tolower(*str++);10 : ^~~~~~~~~~~~~~~ warning/usr/include/sys/ctype_inline.h: :array subscript is of type 'char' [-Wchar-subscripts]59 :46: note: expanded from macro 'tolower' *pos = toupper(*pos);#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ~~~~~~~^~~~~~~~~~~~~~ ^~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cdr_syslog.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] aoc.c -> aoc.o [CC] src/debug.c -> src/debug.o 13 warnings generated. [CC] codec_g722.c -> codec_g722.o 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 ^ 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 ^~~~ 13 warnings generated. 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)])) ^~~~ [CC] app.c -> app.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 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 ^ 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] 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 *pos = toupper(*pos);: 28 ~~~~~~~^~~~~~~~~~~~~~: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36/usr/include/sys/ctype_inline.h:60:46: : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hexpanded from macro 'toupper' :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^: 9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :warning52: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]47 : note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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:In file included from res_config_ldap.cwarning:: 49'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: 22 ^ :/usr/include/pthread.h :warning345: :array subscript is of type 'char' [-Wchar-subscripts]9 : note: previous definition is here hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:#define pthread_mutex_unlock __libc_mutex_unlock59 :46 ^: noteIn file included from : format_ilbc.cexpanded from macro 'tolower': 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#define tolower(c) ((int)((_tolower_tab_ + 1)[(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 format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 13 warnings generated. In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [CC] src/decode.c -> src/decode.o In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ [CC] decode.c -> decode.o 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 ^ [CC] filter.c -> filter.o [CC] sip/config_parser.c -> sip/config_parser.o 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' 13 warning#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))s generated. ^~~~ 13 warnings generated. [CC] app_externalivr.c -> app_externalivr.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] format_siren14.c -> format_siren14.o chan_sip.c:2288:11: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] if (code >= 0 && code < ARRAY_LEN(sip_reason_table)) { ~~~~ ^ ~ In file included from 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:In file included from 9func_curl.c:: 46note: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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_mutex_init __libc_mutex_init30 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hIn file included from :aoc.c935::33: 10In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h :warning29: : 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:560:9: *pos = toupper(*pos); warning ~~~~~~~^~~~~~~~~~~~~~: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] /usr/include/sys/ctype_inline.h:60:46: note: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroyexpanded from macro 'toupper' ^ /usr/include/pthread.h:346:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))9 : ^ note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hprevious definition is here: 52:47: note: expanded from macro 'AST_INLINE_API' #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from aoc.c# define AST_INLINE_API(hdr, body) inline hdr body: 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:In file included from 29func_curl.c: :In file included from 46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :In file included from 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :In file included from 144/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/config.h: :In file included from 30/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h750:: 562/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::9994:: 22warning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]warning : array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++);#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^~~~~~~~~~~~~~~ ^ /usr/include/sys/ctype_inline.h/usr/include/pthread.h::59371:46::9 note:: expanded from macro 'tolower'note: previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) #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 ^ 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) { ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] 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#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: 29 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::144: 371In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:930:: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hnote:: 750previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: #define pthread_cond_destroy __libc_cond_destroywarning : array subscript is of type 'char' [-Wchar-subscripts] ^ 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 *pos = toupper(*pos);: 23 ~~~~~~~^~~~~~~~~~~~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:/usr/include/sys/ctype_inline.h9::60 :warning46: :'pthread_cond_signal' macro redefined [-Wmacro-redefined] note: expanded from macro 'toupper' #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal#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.h::36752::947:: notenote: : expanded from macro 'AST_INLINE_API'previous definition is here # define AST_INLINE_API(hdr, body) inline hdr body#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 In file included from cdr_sqlite3_custom.caoc.c::4733: : 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/aoc.h::12729: : 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/config.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h30:: 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:750: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h565::9949::22 :warning : warning'pthread_cond_wait' macro redefined [-Wmacro-redefined]: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++);#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^~~~~~~~~~~~~~~ ^ /usr/include/sys/ctype_inline.h/usr/include/pthread.h::59369::469:: note: noteexpanded from macro 'tolower': previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #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 ^ [LD] cdr_manager.o -> cdr_manager.so 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 cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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] src/long_term.c -> src/long_term.o 13 warnings generated. [CC] pbx_ael.c -> pbx_ael.o chan_sip.c:10106:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = tolower(*pos); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] app_dictate.c -> app_dictate.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)])) ^~~~ [CC] deemp.c -> deemp.o In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 sip/config_parser.c:30: In file included from sip/include/sip.h:29: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:29: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] FrameClassify.c -> FrameClassify.o In file included from app_externalivr.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_externalivr.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_siren14.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from format_siren14.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_siren14.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_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:15895:2: error: illegal storage class on function RAII_VAR(char *, tmpf, NULL, ast_free); ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR' auto void _dtor_ ## varname (vartype * v); \ ^ chan_sip.c:15895:2: error: function definition is not allowed here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR' void _dtor_ ## varname (vartype * v) { dtor(*v); } \ ^ In file included from pbx_ael.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_ael.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 13 warnings generated. #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 ^ 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__); \ ^~~~~~~~~~~ 15 warnings generated. 13 warnings generated. [CC] res_realtime.c -> res_realtime.o [LD] cdr_custom.o -> cdr_custom.so chan_sip.c:16721:2: error: illegal storage class on function RAII_VAR(char *, ofbuf, NULL, ast_free); /* beware, everyone starts pointing to this */ ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR' auto void _dtor_ ## varname (vartype * v); \ ^ chan_sip.c:16721:2: error: function definition is not allowed here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR' void _dtor_ ## varname (vartype * v) { dtor(*v); } \ ^ chan_sip.c:16722:2: error: illegal storage class on function RAII_VAR(char *, namebuf, NULL, ast_free); ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR' auto void _dtor_ ## varname (vartype * v); \ ^ chan_sip.c:16722:2: error: function definition is not allowed here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR' void _dtor_ ## varname (vartype * v) { dtor(*v); } \ ^ [CC] func_strings.c -> func_strings.o [CC] format_h263.c -> format_h263.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)])) ^~~~ chan_sip.c:17628:18: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] stalecontext = '\0'; ^~~~ chan_sip.c:17634:20: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] stalecontext = '\0'; ^~~~ chan_sip.c:18225:74: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion] ast_cli(fd, " Sess-Refresh : %s\n", strefresherparam2str(peer->stimer.st_ref)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ chan_sip.c:18282:82: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion] app_dictate.c astman_append(s, "SIP-Sess-Refresh: %s\r\n", strefresherparam2str(peer->stimer.st_ref));: 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)) { ^~ = 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)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ [CC] difmag.c -> difmag.o 13 warnings generated. [CC] pbx_realtime.c -> pbx_realtime.o 13 warnings generated. [LD] cdr_csv.o -> cdr_csv.so [CC] app_macro.c -> app_macro.o [CC] gainquant.c -> gainquant.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] format_siren7.c -> format_siren7.o In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_h263.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] cdr_syslog.o -> cdr_syslog.so 13 warnings generated. [CC] func_speex.c -> func_speex.o 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)])) ^~~~ [CC] src/lpc.c -> src/lpc.o 14 warnings generated. [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] In file included from 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#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/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10/usr/include/pthread.h:: 343warning:: 9array subscript is of type 'char' [-Wchar-subscripts]: 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 *pos = toupper(*pos);/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h : ~~~~~~~^~~~~~~~~~~~~~21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::60557:46:9:: notewarning: : expanded from macro 'toupper' '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 ^:52 :/usr/include/pthread.h47::345 :note9:: expanded from macro 'AST_INLINE_API'note: previous definition is here # define AST_INLINE_API(hdr, body) inline hdr body ^~~~#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:In file included from 559:res_realtime.c9::39 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_mutex_init' macro redefined [-Wmacro-redefined] :144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750#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/strings.h ^: 994/usr/include/pthread.h::34222::9 : warningnote: : array subscript is of type 'char' [-Wchar-subscripts]previous definition is here #define pthread_mutex_init __libc_mutex_init hash = hash * 33 ^ tolower(*str++); ^ ^~~~~~~~~~~~~~~In file included from app_macro.c/usr/include/sys/ctype_inline.h::3859:: 46In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote: :expanded from macro 'tolower'127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): 23 ^~~~ : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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 ^ 13 warnings generated. 25 warnings and 6 errors generated. [CC] sip/srtp.c -> sip/srtp.o 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 ^ /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] getCBvec.c -> getCBvec.o 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)])) ^~~~ 13 warnings generated. In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] pbx_spool.c -> pbx_spool.o [CC] ast_expr2.c -> ast_expr2.o [CC] dyptrk.c -> dyptrk.o 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. /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.... [LD] pbx_config.o -> pbx_config.so [CC] g722/g722_encode.c -> g722/g722_encode.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:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] res_pktccops.c -> res_pktccops.o [CC] ast_expr2f.c -> ast_expr2f.o In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_realtime.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 ^ In file included from format_siren7.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_siren7.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] format_g726.c -> format_g726.o In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from func_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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_speex.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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 ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] encode.c -> encode.o 14 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: [CC] format_pcm.c -> format_pcm.o /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] src/preprocess.c -> src/preprocess.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)) ^~~~ 13 warnings generated. 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] app_cdr.c -> app_cdr.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] g722/g722_decode.c -> g722/g722_decode.o In file included from sip/srtp.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: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 sip/srtp.c:36: In file included from /data/scratch/comms/asterisk18/work/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 sip/srtp.c:36: In file included from /data/scratch/comms/asterisk18/work/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 In file included from sip/srtp.cres_pktccops.c::3657: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::32127: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 559/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_mutex_init' macro redefined [-Wmacro-redefined]: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ warning/usr/include/pthread.h: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]342 :9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from sip/srtp.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: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:#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock9 : ^ note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from sip/srtp.c:36/usr/include/pthread.h: :In file included from 343/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.hnote:: 561previous definition is here: 9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_pktccops.c:57#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :/usr/include/pthread.h127:: 366In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:921: note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557#define pthread_cond_init __libc_cond_init: 9: ^ warningIn file included from : sip/srtp.c'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: 36: In file included from /data/scratch/comms/asterisk18/work/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_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: 9: ^ warning/usr/include/pthread.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]345 :9: note: previous definition is here #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy #define pthread_mutex_unlock __libc_mutex_unlock ^ ^/usr/include/pthread.h :371In file included from :res_pktccops.c9:57:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127previous definition is here : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from #define pthread_cond_destroy __libc_cond_destroy/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.hsip/srtp.c::55836:: 9:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32warning: : 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal note ^: previous definition is here/usr/include/pthread.h :367:9: #define pthread_mutex_trylock __libc_mutex_trylocknote : ^previous definition is here In file included from res_pktccops.c:57: #define pthread_cond_signal __libc_cond_signalIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: 127In file included from sip/srtp.c: :In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: : [CC] src/rpe.c -> src/rpe.o 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.h32:: 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564559::99:: warningwarning: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ ^/usr/include/pthread.h :/usr/include/pthread.h368::3429:: 9note: :previous definition is here note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ #define pthread_mutex_init __libc_mutex_initIn file included from sip/srtp.c ^ :36In file included from : res_pktccops.cIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::5732: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::565127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait9 : ^ warning/usr/include/pthread.h: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:369 :9: note: previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^#define pthread_cond_wait __libc_cond_wait /usr/include/pthread.h: ^ 346:9In file included from :sip/srtp.c :36note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9#define pthread_mutex_destroy __libc_mutex_destroy : ^ In file included from warningres_pktccops.c: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]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 #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/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::370561::99:: notewarning: : 'pthread_cond_init' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from sip/srtp.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from sip/srtp.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ Makefile:347: recipe for target 'funcs' failed gmake: *** [funcs] Error 2 gmake: *** Waiting for unfinished jobs.... [CC] asterisk.c -> asterisk.o [CC] helpfun.c -> helpfun.o [CC] format_wav_gsm.c -> format_wav_gsm.o 13 warnings generated. 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 ^ [CC] res_adsi.c -> res_adsi.o 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)])) ^~~~ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from format_pcm.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_pcm.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ In file included from /usr/include/pthread.h:342:9:format_g726.c :note39: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/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_init __libc_mutex_init36 : ^ In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23app_cdr.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36:: 556In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9::127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning:: 21'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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 #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h : ^21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: /usr/include/pthread.hwarning: :'pthread_cond_init' macro redefined [-Wmacro-redefined] 343:9: note: previous definition is here #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:#define pthread_mutex_lock __libc_mutex_lock 366 ^ :9In file included from :format_g726.c :39note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h :28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: #define pthread_cond_init __libc_cond_initIn file included from /data/scratch/comms/asterisk18/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_cdr.c:55736:9: :In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/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_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: ^ 562/usr/include/pthread.h::9345:: 9warning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ ^ /usr/include/pthread.hIn file included from :format_g726.c371::939:: note: In file included from previous definition is here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/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_cond_destroy __libc_cond_destroy: 36 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :23app_cdr.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36:: 558In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:: 127warning: : In file included from 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ 9/usr/include/pthread.h:: 344warning:: 9'pthread_cond_signal' macro redefined [-Wmacro-redefined]: note: previous definition is here #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal #define pthread_mutex_trylock __libc_mutex_trylock ^ ^ /usr/include/pthread.h:In file included from 367format_g726.c:9:39:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:: 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:#define pthread_cond_signal __libc_cond_signal23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 559:In file included from 9app_cdr.c:: 36warning: : 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#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: 23 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::564342::99:: notewarning: : previous definition is here'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_mutex_init __libc_mutex_init ^ #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcastIn file included from format_g726.c ^: 39/usr/include/pthread.h: :In file included from 368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h9::36: noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9#define pthread_cond_broadcast __libc_cond_broadcast: ^warning : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]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#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :/usr/include/pthread.h23:: 346/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9565:: 9: notewarning: : previous definition is here'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy __libc_mutex_destroy ^ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait In file included from ^format_g726.c :/usr/include/pthread.h39:369: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:: note: 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#define pthread_cond_wait __libc_cond_wait: ^23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :app_cdr.c561::369: :In file included from /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:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: ^566 :/usr/include/pthread.h9:366::9 : warningnote: : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_cond_init __libc_cond_init ^ #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait In file included from ^format_g726.c: 39/usr/include/pthread.h: :In file included from 370/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::928:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :previous definition is here36 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_timedwait __libc_cond_timedwait562 : ^9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_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 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 app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] energy.c -> energy.o 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 ^ 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] app_talkdetect.c -> app_talkdetect.o [CC] format_jpeg.c -> format_jpeg.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:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 ^ 13 warnings generated. 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 ^ 13 warnings generated. [CC] hpInput.c -> hpInput.o 13 warnings generated. [CC] codec_adpcm.c -> codec_adpcm.o In file included from res_adsi.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_adsi.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] pbx_loopback.o -> pbx_loopback.so asterisk.c:818:2: warning: array subscript is of type 'char' [-Wchar-subscripts] DEFINE_PROFILE_MIN_MAX_VALUES; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asterisk.c:791:7: note: expanded from macro 'DEFINE_PROFILE_MIN_MAX_VALUES' if (isdigit(a->argv[3][0])) { \ ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ asterisk.c:853:2: warning: array subscript is of type 'char' [-Wchar-subscripts] DEFINE_PROFILE_MIN_MAX_VALUES; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asterisk.c:791:7: note: expanded from macro 'DEFINE_PROFILE_MIN_MAX_VALUES' if (isdigit(a->argv[3][0])) { \ ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ In file included from format_wav_gsm.c: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)])) ^~~~ asterisk.c:1964:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*s)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ asterisk.c:1969:23: warning: array subscript is of type 'char' [-Wchar-subscripts] (s[4] == '\0' || isspace(s[4]))) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ asterisk.c:2656:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isspace(*ptr)) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ [CC] ham84.c -> ham84.o [CC] src/gsm_destroy.c -> src/gsm_destroy.o [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so [CC] format_g723.c -> format_g723.o [CC] src/gsm_decode.c -> src/gsm_decode.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 ^ In file included from format_jpeg.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_jpeg.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ 13 warnings generated. [LD] pbx_ael.o -> pbx_ael.so [CC] codec_ulaw.c -> codec_ulaw.o In file included from app_talkdetect.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_talkdetect.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] hpOutput.c -> hpOutput.o 13 warnings generated. 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] src/gsm_encode.c -> src/gsm_encode.o 15 warnings generated. [LD] pbx_realtime.o -> pbx_realtime.so [CC] hp100.c -> hp100.o In file included from format_g723.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ 13 warnings generated. [CC] app_directed_pickup.c -> app_directed_pickup.o In file included from format_g723.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_g723.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] iCBConstruct.c -> iCBConstruct.o 13 warnings generated. [CC] astfd.c -> astfd.o [LD] pbx_spool.o -> pbx_spool.so [CC] app_db.c -> app_db.o 13 warnings generated. [CC] invert.c -> invert.o [CC] app_waitforring.c -> app_waitforring.o 13 warnings generated. [CC] irc2pc.c -> irc2pc.o 13 warnings generated. [CC] format_g719.c -> format_g719.o [CC] iCBSearch.c -> iCBSearch.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 ^ 13 warnings generated. In file included from codec_ulaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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] res_crypto.c -> res_crypto.o [CC] codec_ilbc.c -> codec_ilbc.o 13 warnings generated. [CC] res_phoneprov.c -> res_phoneprov.o In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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] iLBC_decode.c -> iLBC_decode.o [CC] src/gsm_explode.c -> src/gsm_explode.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 ^ [CC] res_timing_pthread.c -> res_timing_pthread.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_db.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] src/gsm_implode.c -> src/gsm_implode.o In file included from format_g719.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_g719.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] res_jabber.c -> res_jabber.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] format_sln.c -> format_sln.o In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] res_curl.c -> res_curl.o [CC] ivfilt.c -> ivfilt.o In file included from codec_ilbc.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_ilbc.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ 13 warnings generated. [CC] astmm.c -> astmm.o 13 warnings generated. [CC] app_amd.c -> app_amd.o 18 warnings generated. [CC] lpcdec.c -> lpcdec.o 13 warnings generated. [CC] res_speech.c -> res_speech.o In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: [CC] codec_g726.c -> codec_g726.o 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_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 ^ [CC] iLBC_encode.c -> iLBC_encode.o In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_jabber.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] lpcenc.c -> lpcenc.o [CC] src/gsm_create.c -> src/gsm_create.o 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 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 In file included from #define pthread_mutex_init __libc_mutex_init format_sln.c ^: 33In file included from : app_amd.cIn file included from :37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :In file included from 28/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :In file included from 31/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:3632: : 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::56023:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 556warning: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] 9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 561 ^: 9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :343:9: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initnote : ^previous definition is here /usr/include/pthread.h:366:9: #define pthread_mutex_lock __libc_mutex_locknote : ^previous definition is here In file included from format_sln.c:33#define pthread_cond_init __libc_cond_init: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h :In file included from 28app_amd.c: :In file included from 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h36:: 31In 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/utils.h23:: 32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h557::562:99: warning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]warning : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: 371 ^:9 :/usr/include/pthread.h :note345: :previous definition is here9 : note#define pthread_cond_destroy __libc_cond_destroy: ^previous definition is here In file included from app_amd.c:37: #define pthread_mutex_unlock __libc_mutex_unlockIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: 31 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:In file included from 32format_sln.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:56333:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h :warning28: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 23 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::558367::99:: warning : note: previous definition is here'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^ #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockIn file included from app_amd.c ^: 37/usr/include/pthread.h: :In file included from 344/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::319: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :note32: : previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]#define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_sln.c:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast33 : ^ In file included from /usr/include/pthread.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h368::928:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :previous definition is here 36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_broadcast __libc_cond_broadcast ^: 23In file included from : app_amd.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::37: 559In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:931:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :32: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait /usr/include/pthread.h ^: 342/usr/include/pthread.h::9369:: 9note:: noteprevious definition is here: previous definition is here #define pthread_cond_wait __libc_cond_wait #define pthread_mutex_init __libc_mutex_init ^ ^ In file included from app_amd.cIn file included from :format_sln.c37:: 33In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :31/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:2832: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::56636:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning: 23'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^warning : /usr/include/pthread.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 370:9: note: previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy #define pthread_cond_timedwait __libc_cond_timedwait ^ ^/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_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)])) ^~~~ 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 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] [CC] codec_a_mu.c -> codec_a_mu.o #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. 13 warnings generated. [CC] src/gsm_print.c -> src/gsm_print.o [CC] codec_lpc10.c -> codec_lpc10.o In file included from res_speech.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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] astobj2.c -> astobj2.o [CC] iLBC_test.c -> iLBC_test.o In file included from res_speech.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_speech.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] src/gsm_option.c -> src/gsm_option.o 13 warnings generated. 13 warnings generated. [CC] format_h264.c -> format_h264.o [CC] codec_gsm.c -> codec_gsm.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: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_g726.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 13 warnings generated. 13 warnings generated. [CC] audiohook.c -> audiohook.o [CC] app_forkcdr.c -> app_forkcdr.o 20 warnings generated. Makefile:347: recipe for target 'channels' failed gmake: *** [channels] Error 2 [CC] codec_speex.c -> codec_speex.o src/gsm_create.c:7:19: warning: unused variable 'ident' [-Wunused-const-variable] static char const ident[] = "$Header$"; ^ 13 warnings generated. [CC] lpcini.c -> lpcini.o [CC] LPCdecode.c -> LPCdecode.o 1 warning generated. [CC] res_agi.c -> res_agi.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_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 ^ [LD] codec_alaw.o -> codec_alaw.so 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)])) ^~~~ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from astobj2.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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)])) ^~~~ [CC] lpfilt.c -> lpfilt.o In file included from format_h264.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_h264.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from astobj2.c:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [LD] codec_g722.o g722/g722_encode.o g722/g722_decode.o -> codec_g722.so [CC] src/short_term.c -> src/short_term.o In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36In file included from : audiohook.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h36:: 23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::127565: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21warning: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^#define pthread_cond_wait __libc_cond_wait ^ In file included from codec_gsm.c:38: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h::34335:: 9: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:#define pthread_mutex_lock __libc_mutex_lock23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :In file included from 566audiohook.c::936:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^557 :/usr/include/pthread.h9::370 :warning9: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] note: previous definition is here #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h#define pthread_cond_timedwait __libc_cond_timedwait: 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 [CC] median.c -> median.o 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 ^ 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 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: In file included from warningaudiohook.c: :array subscript is of type 'char' [-Wchar-subscripts]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 *pos = toupper(*pos);/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ~~~~~~~^~~~~~~~~~~~~~750 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994/usr/include/sys/ctype_inline.h::2260:: 46warning:: array subscript is of type 'char' [-Wchar-subscripts]note : expanded from macro 'toupper' hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) /usr/include/sys/ctype_inline.h ^: 59:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h46::52 :note47: :expanded from macro 'tolower' note: expanded from macro 'AST_INLINE_API' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~# define AST_INLINE_API(hdr, body) inline hdr body ^~~~ 13 warnings generated. 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] res_mutestream.c -> res_mutestream.o [CC] app_read.c -> app_read.o 13 warnings generated. [LD] format_sln16.o -> format_sln16.so In file included from app_forkcdr.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_forkcdr.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_forkcdr.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_forkcdr.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_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 app_forkcdr.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_forkcdr.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] LPCencode.c -> LPCencode.o In file included from 13codec_speex.c warning:s52 generated. : 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] res_monitor.c -> res_monitor.o In file included from codec_speex.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_speex.c:53: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] format_g729.o -> format_g729.so 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 ^ 13 warnings generated. [CC] mload.c -> mload.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [CC] lsf.c -> lsf.o 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] res_musiconhold.c -> res_musiconhold.o 13 warnings generated. 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 ^ In file included from /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ res_mutestream.c:In file included from 49app_read.c: :In file included from 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :In file included from 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :In file included from 26/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :In file included from 21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :In file included from 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h21:: 556In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9::23 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]557 :9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ ^ /usr/include/pthread.h:345:9: note/usr/include/pthread.h: :343previous definition is here: 9:#define pthread_mutex_unlock __libc_mutex_unlock note ^: previous definition is hereIn file included from app_read.c#define pthread_mutex_lock __libc_mutex_lock: 37 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hres_mutestream.c::2649: : 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::127127: : 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/astobj2.h::2121: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2323: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::557558::99:: warningwarning: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ ^/usr/include/pthread.h :/usr/include/pthread.h345::9344:: 9note:: previous definition is herenote : previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ #define pthread_mutex_trylock __libc_mutex_trylockIn file included from res_mutestream.c: ^49 : In file included from In file included from app_read.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::37127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::2126: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h23:: 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 558/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::921:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: previous definition is here ^ /usr/include/pthread.h:342:9: #define pthread_mutex_trylock __libc_mutex_trylocknote : ^previous definition is here 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#define pthread_mutex_init __libc_mutex_init: 127 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.happ_read.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/pbx.h::2326: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h559::1279: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning:: 21'pthread_mutex_init' 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:560:9#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: ^warning : /usr/include/pthread.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 342:9: note: previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h#define pthread_mutex_init __libc_mutex_init: 346 ^: 9:In file included from res_mutestream.cnote:: 49previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_mutex_destroy __libc_mutex_destroy: 21 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.happ_read.c:23:: 37/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/pbx.h::926:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_mutex_destroy' 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: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: ^warning : /usr/include/pthread.h'pthread_cond_init' macro redefined [-Wmacro-redefined]: 346:9: note: previous definition is here #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:#define pthread_mutex_destroy __libc_mutex_destroy366 : ^9 :In file included from res_mutestream.cnote:: 49: previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_init __libc_cond_init: 21 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :app_read.c23:: 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 561/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::926:: In file included from warning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_cond_init' macro redefined [-Wmacro-redefined]: 127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: #define pthread_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/linkedlists.h ^: 23/usr/include/pthread.h: :366/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9562::9 :note : warningprevious definition is here: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_init __libc_cond_init#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ ^ In file included from /usr/include/pthread.hres_mutestream.c::37149:: 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: In file included from #define pthread_cond_destroy __libc_cond_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : ^23 [CC] src/table.c -> src/table.o In file included from : app_read.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::37562: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: 26warning: : In file included from 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23371: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::563 :note9: :previous definition is here warning: #define pthread_cond_destroy __libc_cond_destroy'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^ In file included from res_mutestream.c:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal49 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127: In file included from 367/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::921: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote:: 23previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563#define pthread_cond_signal __libc_cond_signal: 9 ^: In file included from warningapp_read.c: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]37 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127367: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564#define pthread_cond_signal __libc_cond_signal: 9 ^: In file included from warningres_mutestream.c: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]49 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define 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::36823:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 564note:9: : warningprevious definition is here: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast __libc_cond_broadcast#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ ^ /usr/include/pthread.h:In file included from 368app_read.c:9::37 : note: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h :26#define pthread_cond_broadcast __libc_cond_broadcast: In file included from ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :res_mutestream.c127:: 49In 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::127: 21In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :21: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2323: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::565565::99:: warningwarning: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait/usr/include/pthread.h :369 ^: 9/usr/include/pthread.h:: 369note:: 9previous definition is here : #define pthread_cond_wait __libc_cond_waitnote ^: previous definition is hereIn file included from res_mutestream.c:49#define pthread_cond_wait __libc_cond_wait: 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.happ_read.c::21: 37In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h23: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h26:: 566In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:: 127warning: 'pthread_cond_timedwait' 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 #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/linkedlists.h : ^23 : /usr/include/pthread.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h370::9:566: 9note:: previous definition is herewarning : #define pthread_cond_timedwait __libc_cond_timedwait 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] ^ #define pthread_cond_timedwait use_ast_cond_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_vox.o -> format_vox.so 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: In file included from noteapp_read.c: expanded from macro 'toupper':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#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): 144 ^: 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/inline_api.h::3052: :In file included from 47/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 750note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hexpanded from macro 'AST_INLINE_API': 935:10: warning# define AST_INLINE_API(hdr, body) inline hdr body: array subscript is of type 'char' [-Wchar-subscripts] ^~~~ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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:46In file included from :app_read.c :note37: : expanded from macro 'tolower'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): 144 ^~~~: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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_adsiprog.c -> app_adsiprog.o [LD] codec_adpcm.o -> codec_adpcm.so In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_monitor.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_monitor.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_monitor.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. 13 warnings generated. [CC] autochan.c -> autochan.o [LD] format_wav.o -> format_wav.so [CC] onset.c -> onset.o [CC] packing.c -> packing.o 13 warnings generated. 13 warnings generated. [CC] pitsyn.c -> pitsyn.o [LD] codec_ulaw.o -> codec_ulaw.so [CC] res_stun_monitor.c -> res_stun_monitor.o 4 warnings generated. [LD] format_gsm.o -> format_gsm.so [CC] autoservice.c -> autoservice.o 14 warnings generated. [CC] app_waitforsilence.c -> app_waitforsilence.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 [CC] placea.c -> placea.o [CC] bridging.c -> bridging.o 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 ^ 13 warnings generated. In file included from res_musiconhold.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_musiconhold.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] codec_g726.o -> codec_g726.so [LD] format_ilbc.o -> format_ilbc.so res_musiconhold.c:1378:50: warning: [CC] placev.c -> placev.o array subscript is of type 'char' [-Wchar-subscripts] else if (!strcasecmp(tmp->name, "digit") && (isdigit(*tmp->value) || strchr("*#", *tmp->value))) ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ res_musiconhold.c:1717:49: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (!strcasecmp(var->name, "digit") && (isdigit(*var->value) || strchr("*#", *var->value))) ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ [LD] codec_a_mu.o -> codec_a_mu.so [CC] preemp.c -> preemp.o In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_adsiprog.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #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 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: [LD] format_siren14.o -> format_siren14.so 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 ^ 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 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)])) ^~~~ app_adsiprog.c:211:54: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if ((strlen(src) > 2) && (src[0] == '0') && (tolower(src[1]) == 'x')) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ app_adsiprog.c:221:39: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if ((!ast_strlen_zero(src) && isdigit(src[0]))) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ app_adsiprog.c:1105:28: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion] state->key->retstr[0] = 128; ~ ^~~ app_adsiprog.c:1141:26: warning: implicit conversion from 'int' to 'char' changes value from 130 to -126 [-Wconstant-conversion] state->sub->data[0] = 130; ~ ^~~ app_adsiprog.c:1258:20: warning: implicit conversion from 'int' to 'char' changes value from 129 to -127 [-Wconstant-conversion] disp->data[0] = 129; ~ ^~~ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_controlplayback.c -> app_controlplayback.o In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_stun_monitor.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from bridging.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from res_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)])) ^~~~ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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. [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so [LD] format_h263.o -> format_h263.so [CC] prepro.c -> prepro.o [CC] StateConstructW.c -> StateConstructW.o [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o 13 warnings generated. In file included from app_waitforsilence.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [CC] callerid.c -> callerid.o [CC] StateSearchW.c -> StateSearchW.o [CC] res_calendar.c -> res_calendar.o 13 warnings generated. [LD] codec_speex.o -> codec_speex.so [LD] format_siren7.o -> format_siren7.so 13 warnings generated. [CC] syntFilter.c -> syntFilter.o [CC] app_url.c -> app_url.o 13 warnings generated. [CC] ccss.c -> ccss.o In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_g726.o -> format_g726.so In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_controlplayback.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] random.c -> random.o 13 warnings generated. 15 warnings generated. [LD] format_pcm.o -> format_pcm.so [CC] res_fax.c -> res_fax.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 [CC] cdr.c -> cdr.o /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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 res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] res_limit.c -> res_limit.o res_rtp_asterisk.c:1192:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(rtp->lastts - pred) < MAX_TIMESTAMP_SKEW) { ^ res_rtp_asterisk.c:1192:8: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(rtp->lastts - pred) < MAX_TIMESTAMP_SKEW) { ^~~ res_rtp_asterisk.c:1195:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] ast_debug(3, "Difference is %d, ms is %u\n", abs(rtp->lastts - pred), ms); ^ res_rtp_asterisk.c:1195:50: note: remove the call to 'abs' since unsigned values cannot be negative ast_debug(3, "Difference is %d, ms is %u\n", abs(rtp->lastts - pred), ms); ^~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ res_rtp_asterisk.c:1206:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(rtp->lastts - pred) < 7200) { ^ res_rtp_asterisk.c:1206:8: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(rtp->lastts - pred) < 7200) { ^~~ res_rtp_asterisk.c:1210:81: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] ast_debug(3, "Difference is %d, ms is %u (%u), pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, ms * 90, rtp->lastts, pred, frame->samples); ^ res_rtp_asterisk.c:1210:81: note: remove the call to 'abs' since unsigned values cannot be negative ast_debug(3, "Difference is %d, ms is %u (%u), pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, ms * 90, rtp->lastts, pred, frame->samples); ^~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ res_rtp_asterisk.c:1220:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(rtp->lastts - pred) < 7200) { ^ res_rtp_asterisk.c:1220:8: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(rtp->lastts - pred) < 7200) { ^~~ res_rtp_asterisk.c:1224:76: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] ast_debug(3, "Difference is %d, ms is %u, pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, rtp->lastts, pred, frame->samples); ^ res_rtp_asterisk.c:1224:76: note: remove the call to 'abs' since unsigned values cannot be negative ast_debug(3, "Difference is %d, ms is %u, pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, rtp->lastts, pred, frame->samples); ^~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ In file included from 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 callerid.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from callerid.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_originate.c -> app_originate.o 13 warnings generated. 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_ael_share.c -> res_ael_share.o 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 ^ 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)])) ^~~~ [LD] format_wav_gsm.o -> format_wav_gsm.so [CC] rcchk.c -> rcchk.o 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); ^ 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:556res_calendar.c::91030:: 24warning:: note: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 22 ^: note: use function 'labs' instead /usr/include/pthread.h int event_enddiff = abs(end - event->end);: 343 ^~~: 9 labs: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ res_calendar.c/usr/include/pthread.h::1044345:20:: 9warning:: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]note : previous definition is here int startdiff = abs(iter->event->start - start); ^ #define pthread_mutex_unlock __libc_mutex_unlock ^ res_calendar.cIn file included from :ccss.c1044::3220: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h note:: 21use function 'labs' instead: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: int startdiff = abs(iter->event->start - start);558 : ^~~9 : labs warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:res_calendar.c21:: 1053:19In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning: 23absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: int enddiff = abs(iter->event->end - end); warning ^: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] res_calendar.c:1053:19: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initnote : ^use function 'labs' instead /usr/include/pthread.h:342:9: int enddiff = abs(iter->event->end - end); note ^~~: previous definition is here labs #define pthread_mutex_init __libc_mutex_init ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] cel.c -> cel.o In file included from ccss.c:33: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ccss.c:33: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_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: ccss.cexpanded from macro 'AST_INLINE_API': 703:6: warning: # define AST_INLINE_API(hdr, body) inline hdr bodylogical 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) {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.hccss.c::144703:6: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hnote:: 30add parentheses around left hand side expression to silence this warning: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994 if (!sscanf(value, "%30u", &value_as_uint) == 1) {:22 : ^ warning ( ): array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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_jpeg.o -> format_jpeg.so [CC] channel.c -> channel.o [AR] anaFilter.o constants.o createCB.o doCPLC.o enhancer.o filter.o FrameClassify.o gainquant.o getCBvec.o helpfun.o hpInput.o hpOutput.o iCBConstruct.o iCBSearch.o iLBC_decode.o iLBC_encode.o iLBC_test.o LPCdecode.o LPCencode.o lsf.o packing.o StateConstructW.o StateSearchW.o syntFilter.o -> libilbc.a In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from In file included from res_ael_share.capp_originate.c::3744: : 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::127127: : 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/astobj2.h::2121: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23: 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h556::5659::9 :warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: ^note : previous definition is here/usr/include/pthread.h:343:9: 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_cond_wait __libc_cond_wait ^ In file included from #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockres_ael_share.c : ^37 : /usr/include/pthread.h:344In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:: 127note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 __libc_mutex_trylock: 23 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :app_originate.c566::449: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:warning127: : 'pthread_cond_timedwait' 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:559:9#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: ^warning : /usr/include/pthread.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 370:9#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: ^ note/usr/include/pthread.h: :342previous definition is here:9 : note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^#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 [CC] app_authenticate.c -> app_authenticate.o : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 ^ 13 warnings generated. [LD] format_g723.o -> format_g723.so [CC] ael/ael_lex.c -> ael/ael_lex.o 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:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_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 ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from res_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] In file included from cdr.c hash = hash * 33 ^ tolower(*str++);: 44 ^~~~~~~~~~~~~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/usr/include/sys/ctype_inline.h556:9:: 59warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] :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 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 18#define pthread_cond_init __libc_cond_init warning s ^ generated. In file included from cdr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cdr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cdr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cdr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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)])) ^~~~ [LD] codec_ilbc.o ilbc/libilbc.a -> codec_ilbc.so 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)])) ^~~~ 13 warnings generated. [CC] app_playtones.c -> app_playtones.o In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cel.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_limit.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ res_limit.c:196:42: warning: array subscript is of type 'char' [-Wchar-subscripts] ast_cli(a->fd, "%c%s (%s) is %s.\n", toupper(desc[0]), desc + 1, a->argv[1], printlimit); ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [LD] format_g719.o -> format_g719.so [CC] ael/ael.tab.c -> ael/ael.tab.o cel.c:294:25: warning: comparison of constant -1 with expression of type 'enum ast_cel_event_type' is always false [-Wtautological-constant-out-of-range-compare] } else if (event_type == -1) { ~~~~~~~~~~ ^ ~~ cel.c:419:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (flag < 0 || flag >= ARRAY_LEN(cel_ama_flags)) { ~~~~ ^ ~ [CC] synths.c -> synths.o [CC] tbdm.c -> tbdm.o 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 ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_sln.o -> format_sln.so 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:26In file included from : app_authenticate.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h38:: 144In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::14430: : 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/utils.h::75030: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h935::75010:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hwarning:: 935:array subscript is of type 'char' [-Wchar-subscripts]10 : warning: 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/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::6052::4647:: note: expanded from macro 'AST_INLINE_API'note : expanded from macro 'toupper' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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' In file included from #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ 14 warnings generated. [CC] app_setcallerid.c -> app_setcallerid.o In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ael.flex:84: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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_h264.o -> format_h264.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)) { ^~ = In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from ael.y:34: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_playtones.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from ael.y:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ael.y:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] voicin.c -> voicin.o 17 warnings generated. [CC] chanvars.c -> chanvars.o [CC] app_celgenuserevent.c -> app_celgenuserevent.o [CC] app_queue.c -> app_queue.o 15 warnings generated. [CC] app_record.c -> app_record.o 13 warnings generated. [CC] cli.c -> cli.o [CC] ael/pval.c -> ael/pval.o 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 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)])) ^~~~ 19 warnings generated. [CC] app_dial.c -> app_dial.o 13 warnings generated. [CC] config.c -> config.o In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344In file included from :chanvars.c9::34 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.hprevious definition is here: 26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_mutex_trylock __libc_mutex_trylock23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :556In file included from :9app_celgenuserevent.c:: 34warning: : In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/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:342:9: /usr/include/pthread.hnote:: 343previous definition is here: 9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from #define pthread_mutex_lock __libc_mutex_lockapp_celgenuserevent.c : ^34 : In file included from In file included from chanvars.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::3431: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::2632: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::56023:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 557warning:: 9'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ ^/usr/include/pthread.h :/usr/include/pthread.h346::3459::9 :note : noteprevious definition is here: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy #define pthread_mutex_unlock __libc_mutex_unlock ^ ^ In file included from chanvars.c:In file included from 34app_celgenuserevent.c: :In file included from 34/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h26:: 31In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h32:: 558/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9561:: 9warning:: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init344 : ^9: /usr/include/pthread.hnote:: 366previous definition is here: 9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from #define pthread_cond_init __libc_cond_initchanvars.c : ^ 34In file included from : app_celgenuserevent.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h34:: 26In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :31/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/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::32559: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::562 :warning9: :'pthread_mutex_init' macro redefined [-Wmacro-redefined] warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy9: ^note : /usr/include/pthread.hprevious definition is here: 371:9: note#define pthread_mutex_init __libc_mutex_init: previous definition is here ^ In file included from chanvars.c:34: In file included from #define pthread_cond_destroy __libc_cond_destroy/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.hIn file included from :app_celgenuserevent.c23:: 34/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/module.h::931:: In file included from warning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9:#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy warning ^: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :346:9:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal note ^: previous definition is here/usr/include/pthread.h :367:9: #define pthread_mutex_destroy __libc_mutex_destroynote : ^previous definition is here In file included from chanvars.c:34: In file included from #define pthread_cond_signal __libc_cond_signal/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.hIn file included from :app_celgenuserevent.c23:: 34/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 561/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::931:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :'pthread_cond_init' macro redefined [-Wmacro-redefined]32 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:366:9: note#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: previous definition is here ^ /usr/include/pthread.h:368#define pthread_cond_init __libc_cond_init: 9 ^: In file included from notechanvars.c: :previous definition is here34 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: #define pthread_cond_broadcast __libc_cond_broadcastIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_celgenuserevent.c::56234:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :warning: 31'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:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy565 : ^9 :/usr/include/pthread.h :warning371: :'pthread_cond_wait' macro redefined [-Wmacro-redefined]9: note: previous definition is here #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait #define pthread_cond_destroy __libc_cond_destroy ^ ^/usr/include/pthread.h :In file included from 369chanvars.c::934: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.hnote:26: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:#define pthread_cond_wait __libc_cond_wait9 : ^ warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] 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#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :/usr/include/pthread.h32: :367:9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 566note:: 9previous definition is here: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^ In file included from chanvars.c:34: #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/chanvars.h : ^26 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:37023:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::564 :note9: :previous definition is here warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait __libc_cond_timedwait ^ #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 ^ 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] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_record.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_record.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_record.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_record.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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)])) ^~~~ 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)])) ^~~~ [CC] vparms.c -> vparms.o 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:9In file included from : app_record.cnote:: previous definition is here 37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h#define pthread_cond_signal __libc_cond_signal: 26 ^ : In file included from cli.cIn file included from :43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h144:23: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h564::930: warning: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 935 ^: 10/usr/include/pthread.h::368: 9warning:: array subscript is of type 'char' [-Wchar-subscripts]note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cli.c:43 *pos = toupper(*pos);: 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/usr/include/sys/ctype_inline.h:23:: 60/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::565: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:369/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::9: 52note:: previous definition is here47 : note: expanded from macro 'AST_INLINE_API'#define pthread_cond_wait __libc_cond_wait ^ In file included from cli.c:43# 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/cli.h: ^~~~30 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_record.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/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 ^ 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)])) ^~~~ 13 warnings generated. In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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:557In file included from :9ael/pval.c:: 44warning: : '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: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144#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/config.h :/usr/include/pthread.h30:: 345:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 750note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hprevious definition is here: 935:10:#define pthread_mutex_unlock __libc_mutex_unlock warning ^: array subscript is of type 'char' [-Wchar-subscripts]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] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: 60 ^: 46/usr/include/pthread.h:: 344note:: 9expanded from macro 'toupper': note: previous definition is here #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ #define pthread_mutex_trylock __libc_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h : ^52 :In file included from 47app_queue.c:: 73note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hexpanded from macro 'AST_INLINE_API': 559:9:# define AST_INLINE_API(hdr, body) inline hdr body warning ^~~~: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_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_destroyIn file included from ael/pval.c ^: 44/usr/include/pthread.h: :In file included from 346/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::926:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :previous definition is here144 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: #define pthread_mutex_destroy __libc_mutex_destroyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h ^: 750In file included from : app_queue.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::73994: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h22::561 :warning9: :array subscript is of type 'char' [-Wchar-subscripts] warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: 59 ^: 46/usr/include/pthread.h:: 366note:: 9expanded from macro 'tolower': note: previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) #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 [CC] app_speech_utils.c -> app_speech_utils.o : 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)])) ^~~~ [CC] res_clioriginate.c -> res_clioriginate.o ael/pval.c:860:16: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*e && !isdigit(*e)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 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_initcli.c : ^2287 :In file included from 9config.c:: 46warning: : In file included from array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h :30: In file included from while (isspace(*s)) {/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ^~~~~~~~~~~32 : /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::56560::449:: notewarning: : expanded from macro 'isspace''pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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:30cli.c: :In file included from 2400/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::3232:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: 565array subscript is of type 'char' [-Wchar-subscripts]: 9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] for (i = 0; i < max_equal && toupper(prevstr[i]) == toupper(match_list[which][i]); i++) ^~~~~~~~~~~~~~~~~~~ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait/usr/include/sys/ctype_inline.h : ^60 :/usr/include/pthread.h46::369 :note9: :expanded from macro 'toupper' note: previous definition is here #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ #define pthread_cond_wait __libc_cond_wait ^ cli.cIn file included from :config.c2400::4655: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hwarning:: 30array subscript is of type 'char' [-Wchar-subscripts]: In file included from /data/scratch/comms/asterisk18/work/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: for (i = 0; i < max_equal && toupper(prevstr[i]) == toupper(match_list[which][i]); i++)warning : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))370 : ^~~~9 : note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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] 13 warnings generated. #define pthread_cond_timedwait use_ast_cond_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 config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] data.c -> data.o [CC] app_channelredirect.c -> app_channelredirect.o ael/pval.c:3556:22: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp2 && isspace(*strp2)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ ael/pval.c:3560:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp3 && isspace(*strp3)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ ael/pval.c:3610:22: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp2 && isspace(*strp2)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ ael/pval.c:3614:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp3 && isspace(*strp3)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 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)])) ^~~~ 14 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 avgholdsecs = (abs(((qe->parent->holdtime + 30) - (now - qe->start))) - 60 * avgholdmins) / qe->parent->roundingseconds; ^~~ labs [CC] app_ices.c -> app_ices.o app_queue.c:5021:18: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] holdtime = abs((now - qe->start) / 60); ^ app_queue.c:5021:18: note: use function 'labs' instead holdtime = abs((now - qe->start) / 60); ^~~ labs app_queue.c:5022:22: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] holdtimesecs = abs((now - qe->start) % 60); ^ app_queue.c:5022:22: note: use function 'labs' instead holdtimesecs = abs((now - qe->start) % 60); ^~~ labs app_queue.c:5123:19: warning: address of array 'qe->parent->monfmt' will always evaluate to 'true' [-Wpointer-bool-conversion] if (qe->parent->monfmt && *qe->parent->monfmt) { ~~~~~~~~~~~~^~~~~~ ~~ 13 warnings generated. 13 warnings generated. [CC] datastore.c -> datastore.o 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 [CC] db.c -> db.o : 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)) ^~~~ 13 warnings generated. [CC] res_config_curl.c -> res_config_curl.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[] = ^ [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_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_speech_utils.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_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 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 app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] res_rtp_multicast.c -> res_rtp_multicast.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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 data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ In file included from /usr/include/pthread.happ_channelredirect.c::37135:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :note144: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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_destroy __libc_cond_destroy: 750: ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :935In file included from :app_ices.c10::43 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :array subscript is of type 'char' [-Wchar-subscripts]563 :9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal /usr/include/sys/ctype_inline.h ^: 60/usr/include/pthread.h::46367:: 9note:: expanded from macro 'toupper'note: previous definition is here #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) #define pthread_cond_signal __libc_cond_signal ^ ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:In file included from 52app_ices.c::4743:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 564expanded from macro 'AST_INLINE_API': 9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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: In file included from noteapp_channelredirect.c: :previous definition is here35 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: #define pthread_cond_wait __libc_cond_waitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h ^:30 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.happ_ices.c::75043: : /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::566994::922:: warningwarning: : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait /usr/include/sys/ctype_inline.h ^: 59:46/usr/include/pthread.h:: 370note:: 9expanded from macro 'tolower': note: previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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] In file included from app_ices.c:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy45 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::144371: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:: 30: In 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 here935: 10: warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_destroy __libc_cond_destroy ^ In file included from *pos = toupper(*pos);db.c : ~~~~~~~^~~~~~~~~~~~~~44 : In file included from /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:60::12746: :In file included from note: expanded from macro 'toupper'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^/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.h23:52: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h47::563 note: :expanded from macro 'AST_INLINE_API'9 : warning: # define AST_INLINE_API(hdr, body) inline hdr body'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^~~~ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from 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:In file included from 23app_ices.c:: 45: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:564144:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h :warning30: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcastarray subscript is of type 'char' [-Wchar-subscripts] ^ hash = hash * 33 ^ tolower(*str++);/usr/include/pthread.h : ^~~~~~~~~~~~~~~368 :/usr/include/sys/ctype_inline.h9::59: 46: notenote: : previous definition is hereexpanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~#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 ^ 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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:res_config_curl.c28:: 41In 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/channel.h23:: 127/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/astobj2.h::921:: In file included from warning/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:556:9: warning: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^#define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from datastore.c:/usr/include/pthread.h32:: 343In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h9::28 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561#define pthread_mutex_lock __libc_mutex_lock: 9 ^: warningIn file included from : res_config_curl.c'pthread_cond_init' macro redefined [-Wmacro-redefined]: 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:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23366: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::557 :note9: :previous definition is here warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_cond_init __libc_cond_init ^ In file included from datastore.c:#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock32 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h/usr/include/pthread.h::28345: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 562:9: warning#define pthread_mutex_unlock __libc_mutex_unlock: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] ^ In file included from res_config_curl.c:41#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :/usr/include/pthread.h127:: 371In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9::21 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:#define pthread_cond_destroy __libc_cond_destroy9 : ^ warningIn file included from : datastore.c'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: 32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::344563::9:9 :note : warningprevious definition is here: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_config_curl.c13#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal warning:s41 generated. : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::127367: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::21 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559#define pthread_cond_signal __libc_cond_signal: 9 ^: In file included from warning: datastore.c'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 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:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h564::3429::9 :warning : note'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcastIn file included from res_config_curl.c ^: 41/usr/include/pthread.h: :In file included from 368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :previous definition is here21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_broadcast __libc_cond_broadcast560 : ^9 : In file included from warningdatastore.c: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]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#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 565/usr/include/pthread.h::9346:: 9warning: :'pthread_cond_wait' macro redefined [-Wmacro-redefined] note : previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ ^ In file included from /usr/include/pthread.hres_config_curl.c::36941:: 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: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_cond_wait __libc_cond_wait23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :In file included from 561datastore.c::932:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h: :'pthread_cond_init' macro redefined [-Wmacro-redefined]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:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init9 : ^ warning/usr/include/pthread.h: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]366 :9: note: previous definition is here #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^#define pthread_cond_init __libc_cond_init /usr/include/pthread.h ^: 370In file included from :res_config_curl.c9::41 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hprevious definition is here: 127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from #define pthread_cond_timedwait __libc_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : ^23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_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 ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] devicestate.c -> devicestate.o 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)])) ^~~~ 13 warnings generated. In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 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] [CC] app_chanspy.c -> app_chanspy.o #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_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 ^ 13 warnings generated. 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' [CC] res_clialiases.c -> res_clialiases.o #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from 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)])) ^~~~ 13 warnings generated. [CC] app_echo.c -> app_echo.o In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 ^ 13 warnings generated. In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: [CC] dial.c -> dial.o 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)])) ^~~~ 13 warnings generated. [CC] res_security_log.c -> res_security_log.o devicestate.c:230:31: warning: comparison of constant -100 with expression of type 'const enum ast_channel_state' is always true [-Wtautological-constant-out-of-range-compare] for (i = 0; chan2dev[i].chan != -100; i++) { ~~~~~~~~~~~~~~~~ ^ ~~~~ 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 In file included from app_chanspy.c:res_clialiases.c45:: 37In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h127:: 31In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3223: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565556::99: :warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]warning : 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: previous definition is here ^ #define pthread_cond_wait __libc_cond_wait ^ In file included from /usr/include/pthread.happ_chanspy.c::34345: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_mutex_lock __libc_mutex_lock: 23 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :res_clialiases.c566::937:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]31 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait 32 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::557370::99:: warningnote: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] dns.c -> dns.o In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 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)])) ^~~~ 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 ^ app_chanspy.c:959:12: warning: array subscript is of type 'char' [-Wchar-subscripts] *s = tolower(*s); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_echo.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_echo.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] app_zapateller.c -> app_zapateller.o 13 warnings generated. [CC] app_followme.c -> app_followme.o 13 warnings generated. In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 ^ [LD] res_timing_kqueue.o -> res_timing_kqueue.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 ^ /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 dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from dial.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ 14 warnings generated. [CC] app_verbose.c -> app_verbose.o In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] [CC] dnsmgr.c -> dnsmgr.o #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_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 ^ 13 warnings generated. [CC] app_playback.c -> app_playback.o In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 16 warnings generated. [LD] res_smdi.o -> res_smdi.so 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 ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_followme.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_followme.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_zapateller.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_zapateller.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] dsp.c -> dsp.o 14 warnings generated. [LD] res_convert.o -> res_convert.so [LD] res_config_ldap.o -> res_config_ldap.so 13 warnings generated. 13 warnings generated. [CC] app_directory.c -> app_directory.o [LD] res_realtime.o -> res_realtime.so 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 ^ In file included from dnsmgr.c:44: /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h343::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note556: :previous definition is here9 : warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #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: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockwarning : ^'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock/usr/include/pthread.h : ^343 :/usr/include/pthread.h9::345 :note9: :previous definition is here note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ #define pthread_mutex_unlock __libc_mutex_unlockIn file included from dnsmgr.c ^: 44In file included from : app_verbose.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h35:: 23In 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/lock.h::31557: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 32warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: 558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock9 : ^ note/usr/include/pthread.h: :previous definition is here344 :9: #define pthread_mutex_unlock __libc_mutex_unlocknote : ^previous definition is here In file included from dnsmgr.c:44: #define pthread_mutex_trylock __libc_mutex_trylockIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_verbose.c::55835:: 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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :app_playback.c32:: 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h ^: 55926:: 9/usr/include/pthread.hIn file included from ::344 :warning9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined] : note127: : previous definition is here#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initIn file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h #define pthread_mutex_trylock __libc_mutex_trylock:/usr/include/pthread.h : ^34221:: In file included from In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hdnsmgr.c::23: 44note: : : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::#define pthread_mutex_init __libc_mutex_init55623 : ^: 9 :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h In file included from :warningapp_verbose.c: :55935:: 9In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :warning31: 'pthread_mutex_init' 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:560:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init9 : ^ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockwarning : /usr/include/pthread.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] : ^342 #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: 9: ^ note/usr/include/pthread.h: /usr/include/pthread.hprevious definition is here:: 343346::99:: #define pthread_mutex_init __libc_mutex_init note ^note : : previous definition is hereprevious definition is here In file included from dnsmgr.c:#define pthread_mutex_destroy __libc_mutex_destroy44#define pthread_mutex_lock __libc_mutex_lock: ^ ^ In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from In file included from :app_playback.capp_verbose.c23::37: : 35/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h560/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:::926:31 : warning: : In file included from 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::32127: : #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.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: ^561 :/usr/include/pthread.h9:::346 21warning:: 9In file included from :: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote'pthread_cond_init' macro redefined [-Wmacro-redefined]: previous definition is here: 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 ^#define pthread_mutex_destroy __libc_mutex_destroy: 557 ^/usr/include/pthread.h ::In file included from 9dnsmgr.c366:: 9warning:: : 44note: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :previous definition is here23 : #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 #define pthread_cond_init __libc_cond_init ^ :/usr/include/pthread.h561: ^345 :In file included from 9app_verbose.c:::35 : 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hnote : warning:previous definition is here: 31 : 'pthread_cond_init' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_mutex_unlock __libc_mutex_unlock: 32 ^#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init In file included from ^app_playback.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h56237::: 9In file included from :366/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h ::warning926:: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :: 127previous definition is here#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_init __libc_cond_init: 37121 ^: :In file included from 9 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from :dnsmgr.c 23note:: : 44/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: : 558In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_destroy __libc_cond_destroy:923 : ^ warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :app_verbose.c'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]:562 35:: 9In file included from :#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hwarning: ^: 31 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/usr/include/pthread.h: : 344In 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/utils.h 9 ^: /usr/include/pthread.h:note:32: 371previous definition is here:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: : 563note:: #define pthread_mutex_trylock __libc_mutex_trylockprevious definition is here9 : ^ warning: In file included from 'pthread_cond_signal' macro redefined [-Wmacro-redefined]app_playback.c :#define pthread_cond_destroy __libc_cond_destroy37 #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: ^ ^In file included from /usr/include/pthread.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::36726dnsmgr.c:: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::44127 : note: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: ::2321: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: In file included from 563/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_signal __libc_cond_signal:: 239 ^: : In file included from app_verbose.cwarning:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h35:: 559: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from 9 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:: 31warning: : #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal'pthread_mutex_init' macro redefined [-Wmacro-redefined] In file included from ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/usr/include/pthread.h::32#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init367: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^9 :/usr/include/pthread.h::564342::99: :note : notewarningprevious definition is here: : previous definition is here'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal#define pthread_mutex_init __libc_mutex_init ^#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^In file included from ^ dnsmgr.cIn file included from /usr/include/pthread.happ_playback.c:::3683744: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: : In file included from note26/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: : In file included from :previous definition is here23 /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:: #define pthread_cond_broadcast __libc_cond_broadcastIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ^564 ::921In file included from :: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.happ_verbose.c::: 23'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]35: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::56031:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast warning ^: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]:/usr/include/pthread.h32 :: 368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy5659:: 9 : ^note : /usr/include/pthread.h :warningprevious definition is here: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]346 :9#define pthread_cond_broadcast __libc_cond_broadcast: #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ note ^ : In file included from /usr/include/pthread.hdnsmgr.c::369previous definition is here44 :: 9In file included from :#define pthread_mutex_destroy __libc_mutex_destroy /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote : ^:previous definition is here23 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.happ_playback.c#define pthread_cond_wait __libc_cond_wait: 37 ^: In file included from In file included from :app_verbose.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h565::269::35: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :warning127: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::2131: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait:/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/usr/include/pthread.h::566::3699561:::9 :9warning :: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]warningnote : : previous definition is here'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait #define pthread_cond_wait __libc_cond_wait ^ #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init/usr/include/pthread.h ^ ^:In file included from 370dnsmgr.c/usr/include/pthread.h::44366: :In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9::239: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 566 :previous definition is herenote9: : previous definition is herewarning : #define pthread_cond_init __libc_cond_init'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] ^#define pthread_cond_timedwait __libc_cond_timedwait ^In file included from app_playback.c:37: #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/pbx.h ^: 26/usr/include/pthread.h: :In file included from 370/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :previous definition is here21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_timedwait __libc_cond_timedwait: 562 ^: 9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_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 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. 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)])) ^~~~ [CC] app_disa.c -> app_disa.o 13 warnings generated. 13 warnings generated. [CC] enum.c -> enum.o [LD] res_pktccops.o -> res_pktccops.so [CC] app_mp3.c -> app_mp3.o [CC] app_parkandannounce.c -> app_parkandannounce.o [CC] event.c -> event.o 13 warnings generated. [LD] res_adsi.o -> res_adsi.so [CC] features.c -> features.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] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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. [LD] res_crypto.o -> res_crypto.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_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: [CC] app_getcpeid.c -> app_getcpeid.o 127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 18 warnings generated. 13 warnings generated. [CC] file.c -> file.o [CC] app_readexten.c -> app_readexten.o In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_directory.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 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_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 enum.c:68: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from enum.c:68: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/enum.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] res_phoneprov.o -> res_phoneprov.so 16 warnings generated. In file included from app_parkandannounce.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_parkandannounce.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: In file included from note: expanded from macro 'tolower' app_disa.c:40: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^~~~556 :9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)) ^~~~ [CC] app_senddtmf.c -> app_senddtmf.o enum.c:816:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:835:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_mp3.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_disa.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_disa.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)) ^~~~ 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:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_mp3.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from event.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from event.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ event.c:280:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (type < 0 || type >= ARRAY_LEN(event_names)) { ~~~~ ^ ~ event.c:718:17: warning: comparison of constant -1 with expression of type 'enum ast_event_type' is always false [-Wtautological-constant-out-of-range-compare] if (event_type == -1) ~~~~~~~~~~ ^ ~~ event.c:744:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (type < 0 || type >= AST_EVENT_TOTAL) { ~~~~ ^ ~ [LD] res_timing_pthread.o -> res_timing_pthread.so 13 warnings generated. 13 warnings generated. In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_getcpeid.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] res_jabber.o -> res_jabber.so [LD] res_curl.o -> res_curl.so 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)])) ^~~~ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from features.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_readexten.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 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 ^ [CC] fixedjitterbuf.c -> fixedjitterbuf.o In file included from features.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from features.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 13 warnings generated. In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 ^In file included from file.c/usr/include/pthread.h::43342: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 144note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h :30: #define pthread_mutex_init __libc_mutex_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h ^: 750: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.happ_senddtmf.c::93536:: 10In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h :warning26: : 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:560:9 *pos = toupper(*pos);: ~~~~~~~^~~~~~~~~~~~~~warning : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]/usr/include/sys/ctype_inline.h :60:46: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroynote : ^expanded from macro 'toupper' /usr/include/pthread.h:346: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_mutex_destroy __libc_mutex_destroy: ^note : expanded from macro 'AST_INLINE_API'In file included from app_senddtmf.c:36: 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/pbx.h : ^~~~26 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_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 app_senddtmf.cfile.c::3643: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::26144: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::12730: : 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/utils.h::21750: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::99423:: 22/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 562warning:: 9array subscript is of type 'char' [-Wchar-subscripts]: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy46 : ^ note/usr/include/pthread.h: :expanded from macro 'tolower'371 :9: note: previous definition is here#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #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 ^ [CC] frame.c -> frame.o [CC] app_while.c -> app_while.o In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ 14 warnings generated. In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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] framehook.c -> framehook.o [CC] fskmodem.c -> fskmodem.o [CC] app_milliwatt.c -> app_milliwatt.o [LD] res_speech.o -> res_speech.so 13 warnings generated. [LD] res_agi.o -> res_agi.so 13 warnings generated. [CC] app_exec.c -> app_exec.o 22 warnings generated. [LD] res_mutestream.o -> res_mutestream.so 14 warnings generated. [CC] global_datastores.c -> global_datastores.o [LD] res_monitor.o -> res_monitor.so [CC] app_readfile.c -> app_readfile.o 16 warnings generated. [LD] res_musiconhold.o -> res_musiconhold.so 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: In file included from warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:framehook.c370::349: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 127previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: #define pthread_cond_timedwait __libc_cond_timedwaitIn file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from framehook.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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: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)])) ^~~~ 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 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 [CC] hashtab.c -> hashtab.o : expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from fixedjitterbuf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ framehook.c:100:16: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] i->version, AST_FRAMEHOOK_INTERFACE_VERSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/framehook.h:202:41: note: expanded from macro 'AST_FRAMEHOOK_INTERFACE_VERSION' #define AST_FRAMEHOOK_INTERFACE_VERSION 1 ^ [CC] app_stack.c -> app_stack.o [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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 15 warnings generated. In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] app_confbridge.c -> app_confbridge.o 13 warnings generated. [LD] res_rtp_asterisk.o -> res_rtp_asterisk.so [CC] app_userevent.c -> app_userevent.o In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/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 ^ 14 warnings generated. In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :app_milliwatt.c21: :In file included from 36/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/module.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h31:: 564:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: 750warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: 935:10:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast warning ^: array subscript is of type 'char' [-Wchar-subscripts]/usr/include/pthread.h :368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ *pos = toupper(*pos);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/usr/include/sys/ctype_inline.h::12760: :In file included from 46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21note: : In file included from expanded from macro 'toupper'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^:565 :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:: 52warning:: 47'pthread_cond_wait' macro redefined [-Wmacro-redefined]: note: expanded from macro 'AST_INLINE_API' #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h# define AST_INLINE_API(hdr, body) inline hdr body: 369 ^~~~: 9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] res_calendar.o -> res_calendar.so 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)])) ^~~~ [CC] app_sayunixtime.c -> app_sayunixtime.o In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] heap.c -> heap.o 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 global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from global_datastores.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/global_datastores.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 13 warnings generated. [CC] http.c -> http.o [LD] res_fax.o -> res_fax.so 13 warnings generated. [CC] app_chanisavail.c -> app_chanisavail.o 13 warnings generated. [CC] image.c -> image.o 13 warnings generated. [CC] app_transfer.c -> app_transfer.o [CC] app_dumpchan.c -> app_dumpchan.o In file included from hashtab.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 hashtab.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from hashtab.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [LD] res_limit.o -> res_limit.so 13 warnings generated. [LD] res_ael_share.o ael/ael_lex.o ael/ael.tab.o ael/pval.o -> res_ael_share.so [LD] res_clioriginate.o -> res_clioriginate.so In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_confbridge.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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)])) ^~~~ [CC] indications.c -> indications.o [CC] app_test.c -> app_test.o In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_userevent.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_sayunixtime.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] res_config_curl.o -> res_config_curl.so 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 ^ 13 warnings generated. [CC] app_nbscat.c -> app_nbscat.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: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 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.hIn file included from :image.c368::409: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 144previous definition is here: 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_cond_broadcast __libc_cond_broadcast/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ^750 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hheap.c::93535:: 10In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :warning32: : array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9 *pos = toupper(*pos);: note ~~~~~~~^~~~~~~~~~~~~~: previous definition is here /usr/include/sys/ctype_inline.h:60#define pthread_cond_wait __libc_cond_wait: 46 ^: In file included from noteheap.c: :expanded from macro 'toupper'35: 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 ^: 566:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h9::52 :warning47: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] note: expanded from macro 'AST_INLINE_API' #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait # define AST_INLINE_API(hdr, body) inline hdr body ^ ^~~~/usr/include/pthread.h :370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from image.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/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 ^ In file included from http.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from http.c:50: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_transfer.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 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)])) ^~~~ [LD] res_rtp_multicast.o -> res_rtp_multicast.so 13 warnings generated. 13 warnings generated. [CC] app_sendtext.c -> app_sendtext.o [LD] res_clialiases.o -> res_clialiases.so [LD] res_security_log.o -> res_security_log.so In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_chanisavail.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 26 warnings generated. 13 warnings generated. [CC] io.c -> io.o [CC] app_image.c -> app_image.o 13 warnings generated. [CC] app_softhangup.c -> app_softhangup.o 13 warnings generated. [CC] app_minivm.c -> app_minivm.o 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 ^ [CC] jitterbuf.c -> jitterbuf.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] 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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: ^note : expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) /usr/include/pthread.h ^: 343/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::952:: 47:note : noteprevious definition is here: expanded from macro 'AST_INLINE_API' #define pthread_mutex_lock __libc_mutex_lock# 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.hIn file included from :indications.c345:38:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/indications.h :note30: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994#define pthread_mutex_unlock __libc_mutex_unlock: 22 ^: warningIn file included from : app_test.carray subscript is of type 'char' [-Wchar-subscripts]: 41 hash = hash * 33 ^ tolower(*str++);: In file included from ^~~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :/usr/include/sys/ctype_inline.h:12759: :In file included from 46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21note: : expanded from macro 'tolower'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))23 : ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] loader.c -> loader.o indications.c:364:24: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (tone_data.freq1 >= 0 && tone_data.freq1 <= 127) { ~~~~~~~~~~~~~~~ ^ ~ indications.c:370:24: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (tone_data.freq2 >= 0 && tone_data.freq2 <= 127) { ~~~~~~~~~~~~~~~ ^ ~ 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); ~~~~~~~^~~~~~~~~~~~~~ indications.c/usr/include/sys/ctype_inline.h::92260::846:: warningnote: : array subscript is of type 'char' [-Wchar-subscripts]expanded from macro 'toupper' if (!isdigit(ring[0]) || (val = atoi(ring)) == -1) { #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h: ^51 :44/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:: note: 52expanded from macro 'isdigit' :47: #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) note ^~~~ : 13expanded from macro 'AST_INLINE_API' warning s generated. # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_voicemail.c -> app_voicemail.o 13 warnings generated. [CC] lock.c -> lock.o [CC] logger.c -> logger.o [CC] manager.c -> manager.o In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_nbscat.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_nbscat.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] app_morsecode.c -> app_morsecode.o In file included from app_sendtext.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ In file included from app_sendtext.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_sendtext.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 ^ 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)])) ^~~~ 13 warnings generated. jitterbuf.c:142:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(*delay - jb->info.last_delay) > threshold) { ^ jitterbuf.c:142:7: note: use function 'labs' instead if (abs(*delay - jb->info.last_delay) > threshold) { ^~~ labs In file included from app_minivm.c: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 ^~~~ [CC] md5.c -> md5.o In file included from app_minivm.c:164: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 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:In file included from 9:app_softhangup.c :note37: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_mutex_destroy __libc_mutex_destroy: 21 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hloader.c::2342: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h556::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning561: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]9 : warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ #define pthread_cond_init __libc_cond_init ^/usr/include/pthread.h :343In file included from :loader.c9::42 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_mutex_lock __libc_mutex_lock: 562 ^: 9In file included from :app_softhangup.c :warning37: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23371: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::557 :note9: :previous definition is here warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy __libc_cond_destroy ^#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock In file included from ^loader.c :/usr/include/pthread.h42:: 345In file included from :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 563:9#define pthread_mutex_unlock __libc_mutex_unlock: ^warning : In file included from 'pthread_cond_signal' macro redefined [-Wmacro-redefined]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#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 21: ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23367: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::558 :note9: :previous definition is here warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock In file included from ^loader.c: 42/usr/include/pthread.h:344: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 564:9:#define pthread_mutex_trylock __libc_mutex_trylock warning ^: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]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#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h368::5599:9:: notewarning: : 'pthread_mutex_init' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^#define pthread_cond_broadcast __libc_cond_broadcast /usr/include/pthread.h ^: 342In file included from :loader.c9::42 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565#define pthread_mutex_init __libc_mutex_init: 9 ^: In file included from app_softhangup.cwarning:37: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from #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::369560::99:: notewarning: : previous definition is here'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_wait __libc_cond_wait #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ ^In file included from loader.c/usr/include/pthread.h::42346: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23 : note: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 566In file included from :#define pthread_mutex_destroy __libc_mutex_destroy9 : ^ warningIn file included from app_image.c: :app_softhangup.c36'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]:: In file included from 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: 26In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn 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.h127:: 127In 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/astobj2.h: : ^21 In file included from : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h370:23:: 239/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h561 ::5569note:: :9 :warning : previous definition is herewarning'pthread_cond_init' macro redefined [-Wmacro-redefined]: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init #define pthread_cond_timedwait __libc_cond_timedwait ^ ^/usr/include/pthread.h :366:9: note#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: previous definition is here ^ #define pthread_cond_init __libc_cond_init ^ /usr/include/pthread.hIn file included from :app_softhangup.c343::379: :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_mutex_lock __libc_mutex_lock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23In file included from : app_image.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::36562: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: 26warning: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: 127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from #define pthread_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 : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::371557::99:: notewarning: : previous definition is here'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy __libc_cond_destroy ^ #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockIn file included from app_softhangup.c ^ :/usr/include/pthread.h37: In 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.hnote:: 21previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_mutex_unlock __libc_mutex_unlock23 : ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 563app_image.c::936:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :'pthread_cond_signal' macro redefined [-Wmacro-redefined] 26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:/usr/include/pthread.h:23367: :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: note558: :9:previous definition is here warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^ In file included from #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock app_softhangup.c ^ :/usr/include/pthread.h:34437: :9:In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 127previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_mutex_trylock __libc_mutex_trylock: 23: ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :564In file included from :app_image.c:936:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]26 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h368::5599::9 :note : warningprevious definition is here: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast __libc_cond_broadcast ^ #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initIn file included from app_softhangup.c ^: 37/usr/include/pthread.h: :In file included from 342/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :previous definition is here21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_mutex_init __libc_mutex_init23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :565In file included from :app_image.c9::36 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :/usr/include/pthread.h21:: 369In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9:: 23note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 560:9: #define pthread_cond_wait __libc_cond_waitwarning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] ^ In file included from app_softhangup.c:37: In file included from #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h : ^127 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h346::219: : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_mutex_destroy __libc_mutex_destroy: 566 ^: 9:In file included from app_image.c:warning36: : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: #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/astobj2.h ^ :/usr/include/pthread.h21:: 370In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:923:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 561previous definition is here: 9: warning#define pthread_cond_timedwait __libc_cond_timedwait: 'pthread_cond_init' macro redefined [-Wmacro-redefined] ^ #define pthread_cond_init use_ast_cond_init_instead_of_pthread_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 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] netsock.c -> netsock.o 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)) ^~~~ 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' In file included from #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))loader.c : ^43 : In file included from /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/module.h::5231:: 47In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :note750: : expanded from macro 'AST_INLINE_API'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :935:# define AST_INLINE_API(hdr, body) inline hdr body10 : ^~~~ warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ 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]app_minivm.c :1822:18: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] if (etemplate->locale) { ~~ ~~~~~~~~~~~^~~~~~ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: noteapp_minivm.c: :expanded from macro 'toupper'1834 :17:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) warning ^: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h : if (etemplate->locale) {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 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 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.happ_minivm.c::9352977::1010:: warningwarning: : array subscript is of type 'char' [-Wchar-subscripts]address of array 'this->charset' will always evaluate to 'true' [-Wpointer-bool-conversion] this->charset ? this->charset : "-", ~~~~~~^~~~~~~ ~ app_minivm.c:2978: *pos = toupper(*pos);10 : ~~~~~~~^~~~~~~~~~~~~~ warning: address of array 'this->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] /usr/include/sys/ctype_inline.h:60:46: this->locale ? this->locale : "-", note ~~~~~~^~~~~~ ~: expanded from macro 'toupper' app_minivm.c:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))2980 : ^10 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hwarning:: 52address of array 'this->subject' will always evaluate to 'true' [-Wpointer-bool-conversion]: 47: note: expanded from macro 'AST_INLINE_API' this->subject ? this->subject : "-"); ~~~~~~^~~~~~~ ~ # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ 13 warnings generated. In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ app_minivm.c:3048:49: warning: address of array 'vmu->etemplate' will always evaluate to 'true' [-Wpointer-bool-conversion] ast_cli(a->fd, HMSU_OUTPUT_FORMAT, tmp, vmu->etemplate ? vmu->etemplate : "-", ~~~~~^~~~~~~~~ ~ app_minivm.c:3049:10: warning: address of array 'vmu->ptemplate' will always evaluate to 'true' [-Wpointer-bool-conversion] vmu->ptemplate ? vmu->ptemplate : "-", ~~~~~^~~~~~~~~ ~ app_minivm.c:3050:10: warning: address of array 'vmu->zonetag' will always evaluate to 'true' [-Wpointer-bool-conversion] vmu->zonetag ? vmu->zonetag : "-", ~~~~~^~~~~~~ ~ app_minivm.c:3051:10: warning: address of array 'vmu->attachfmt' will always evaluate to 'true' [-Wpointer-bool-conversion] vmu->attachfmt ? vmu->attachfmt : "-", ~~~~~^~~~~~~~~ ~ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ [CC] app_festival.c -> app_festival.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 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 ^ 16 warnings generated. In file included from app_voicemail.c:109: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_voicemail.c:109: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_system.c -> app_system.o 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)])) ^~~~ 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)])) ^~~~ 13 warnings generated. 13 warnings generated. [CC] netsock2.c -> netsock2.o 13 warnings generated. [CC] app_mixmonitor.c -> app_mixmonitor.o [CC] pbx.c -> pbx.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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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:34213: warning9:s generated. 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 ^ 13 warnings generated. 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)) ^~ = [CC] app_privacy.c -> app_privacy.o 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)) ^~ = In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_waituntil.o -> app_waituntil.so 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)) ^~~~ manager.c:1625:10: warning: address of array 'user->username' will always evaluate to 'true' [-Wpointer-bool-conversion] (user->username ? user->username : "(N/A)"), ~~~~~~^~~~~~~~ ~ 14 warnings generated. manager.c:5709:23: warning: array subscript is of type 'char' [-Wchar-subscripts] if ( (mode & 2) && !isalnum(*src)) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ manager.c:5742:20: warning: array subscript is of type 'char' [-Wchar-subscripts] *dst++ = mode ? tolower(*src) : *src; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] plc.c -> plc.o 13 warnings generated. [CC] poll.c -> poll.o [CC] privacy.c -> privacy.o In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from netsock.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from netsock.c: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 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 ^ 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 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)])) ^~~~ 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 ^ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: In file included from array subscript is of type 'char' [-Wchar-subscripts] app_system.c:36: *pos = toupper(*pos);In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h ~~~~~~~^~~~~~~~~~~~~~: 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::60127:: 46In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :note21: : expanded from macro 'toupper'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^556 :9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:: 52warning:: 47'pthread_mutex_lock' macro redefined [-Wmacro-redefined] : note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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.hIn file included from :app_festival.c345::489: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 144previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30#define pthread_mutex_unlock __libc_mutex_unlock ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.happ_system.c::75036: : 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/pbx.h:26:: 994In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h22::127 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.harray subscript is of type 'char' [-Wchar-subscripts] :21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h hash = hash * 33 ^ tolower(*str++);: 23 ^~~~~~~~~~~~~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/sys/ctype_inline.h::55859:9:: 46warning:: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]note : expanded from macro 'tolower' #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^ ^~~~/usr/include/pthread.h :344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_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 ^ 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] 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:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait26: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :144/usr/include/pthread.h: :In file included from 369/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::930:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :previous definition is here750 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935#define pthread_cond_wait __libc_cond_wait: 10 ^: In file included from warningpbx.c: :array subscript is of type 'char' [-Wchar-subscripts]46 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning *pos = toupper(*pos);: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitnote : ^expanded from macro 'toupper' /usr/include/pthread.h:370:9#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): ^note : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hprevious definition is here: 52:47: note: #define pthread_cond_timedwait __libc_cond_timedwaitexpanded from macro 'AST_INLINE_API' ^ # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_mixmonitor.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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_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 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)])) ^~~~ 13 warnings generated. 13 warnings generated. [LD] app_sms.o -> app_sms.so [LD] app_alarmreceiver.o -> app_alarmreceiver.so In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here [CC] rtp_engine.c -> rtp_engine.o #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 556/usr/include/pthread.h::9370:: warning9: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined] note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_externalivr.o -> app_externalivr.so In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_dictate.o -> app_dictate.so 13 warnings generated. 13 warnings generated. [CC] say.c -> say.o [CC] sched.c -> sched.o [LD] app_macro.o -> app_macro.so 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] security_events.c -> security_events.o 13 warnings generated. [LD] app_cdr.o -> app_cdr.so [LD] app_talkdetect.o -> app_talkdetect.so 13 warnings generated. [CC] sha1.c -> sha1.o [CC] slinfactory.c -> slinfactory.o 13 warnings generated. [CC] srv.c -> srv.o [CC] ssl.c -> ssl.o 13 warnings generated. [LD] app_directed_pickup.o -> app_directed_pickup.so [CC] stdtime/localtime.c -> stdtime/localtime.o [LD] app_db.o -> app_db.so [CC] strcompat.c -> strcompat.o 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 ^ [CC] strings.c -> strings.o 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 [CC] stun.c -> stun.o : warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 ^ 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 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.cIn file included from :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 sched.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::4623: : 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::558127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : In file included from 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock9 : ^ warning/usr/include/pthread.h: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]344 :9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_locksay.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/usr/include/pthread.h::23343:9: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note559: :previous definition is here9 : warning#define pthread_mutex_lock __libc_mutex_lock: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] ^ 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: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initIn 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 342/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923:: note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here557 :9: #define pthread_mutex_init __libc_mutex_initwarning : ^'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] In file included from say.c:52: #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: 127/usr/include/pthread.h:: 345In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h9::21 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_mutex_unlock __libc_mutex_unlock560 : ^9 :In file included from sched.cwarning:46: : 'pthread_mutex_destroy' 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 #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/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::558346::99:: warningnote: : 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock#define pthread_mutex_destroy __libc_mutex_destroy ^ ^ /usr/include/pthread.hIn file included from :say.c344::529: :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:#define pthread_mutex_trylock __libc_mutex_trylock21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from sched.c::2346: : 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::127561: In 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:: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_init' macro redefined [-Wmacro-redefined]: 559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init366 : ^9 :/usr/include/pthread.h: 342note:: 9previous definition is here: note: previous definition is here #define pthread_cond_init __libc_cond_init#define pthread_mutex_init __libc_mutex_init ^ ^ In file included from In file included from say.csched.c::4652: : 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:127: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:12721: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2321: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :560/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::9: 23warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 562:9: warning: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:346:9:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy note ^: previous definition is here /usr/include/pthread.h:371:#define pthread_mutex_destroy __libc_mutex_destroy9 : ^ In file included from notesched.c: :previous definition is here46 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_destroy __libc_cond_destroy21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23say.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:52561: :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_init' 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_init use_ast_cond_init_instead_of_pthread_cond_init/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::366:5639:: 9note:: previous definition is herewarning : 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #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#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 127 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/usr/include/pthread.h::21: 367In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9::23 : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562: :previous definition is here9 : warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^ #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroyIn file included from say.c ^ :/usr/include/pthread.h52:: 371In 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#define pthread_cond_destroy __libc_cond_destroy: ^23 : In file included from sched.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::46564: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127warning: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h'pthread_cond_broadcast' 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:563:9:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast warning ^: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :368:9:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal note ^: previous definition is here/usr/include/pthread.h :367:9: note: #define pthread_cond_broadcast __libc_cond_broadcastprevious definition is here ^ #define pthread_cond_signal __libc_cond_signalIn file included from say.c ^: 52In file included from : sched.c:In file included from 46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :In file included from 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127In 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/astobj2.h:2121: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2323: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h564::5659::9 warning:: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 368 ^: 9/usr/include/pthread.h: :note369: :previous definition is here9 : note: previous definition is here#define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from sched.c:#define pthread_cond_wait __libc_cond_wait46 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:In file included from 127say.c: :In file included from 52/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :In file included from 21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h127:: 23In 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: :9In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hwarning:: 23'pthread_cond_wait' macro redefined [-Wmacro-redefined] : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: ^ warning/usr/include/pthread.h: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]369 :9: note: previous definition is here #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait#define pthread_cond_wait __libc_cond_wait ^ ^ /usr/include/pthread.hIn file included from :sched.c370::469: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: 21: In file included from /data/scratch/comms/asterisk18/work/asterisk-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_timedwait __libc_cond_timedwait:9: ^warning : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from slinfactory.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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) { ~~~~~~~~~~ ^ ~ 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 security_events.c#define pthread_mutex_init __libc_mutex_init: 629 ^: 22In file included from :ssl.c :warning41: : comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]In file included from /data/scratch/comms/asterisk18/work/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: if (sec->event_type < 0 || sec->event_type >= AST_SECURITY_EVENT_NUM_TYPES) { warning : ~~~~~~~~~~~~~~~ ^ ~'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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 ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from In file included from ssl.c:stdtime/localtime.c41:: 75In 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::75011: warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hs: generated. 935556::109:: warningwarning: : 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 60 ^: 46: note/usr/include/pthread.h: :expanded from macro 'toupper'343 :9: note: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))previous definition is here ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52#define pthread_mutex_lock __libc_mutex_lock: 47 ^: noteIn file included from : stdtime/localtime.cexpanded from macro 'AST_INLINE_API': 75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:# define AST_INLINE_API(hdr, body) inline hdr body9 : ^~~~ warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ [LD] app_waitforring.o -> app_waitforring.so 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 ^In file included from stdtime/localtime.c/usr/include/pthread.h::77342: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h9:: 935note:: 10previous definition is here: warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_mutex_init __libc_mutex_init ^ In file included from strings.c:42 *pos = toupper(*pos);: 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/usr/include/sys/ctype_inline.h::3260: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h46::560 :note9: :expanded from macro 'toupper' warning: 'pthread_mutex_destroy' 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_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: 47 ^: /usr/include/pthread.hnote:: 346expanded from macro 'AST_INLINE_API': 9: note: previous definition is here# define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #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.hIn file included from :stdtime/localtime.c30:: 77In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::32994: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h22::562 :warning9: :array subscript is of type 'char' [-Wchar-subscripts] warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy 59 ^ :/usr/include/pthread.h46::371 :note9: : noteexpanded from macro 'tolower': previous definition is here In file included from #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))strcompat.c : ^~~~#define pthread_cond_destroy __libc_cond_destroy 38 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :strings.c750:: 42/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: :In file included from 935/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::3010: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:warning32: : array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] *pos = toupper(*pos); #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ~~~~~~~^~~~~~~~~~~~~~ ^ /usr/include/pthread.h:367/usr/include/sys/ctype_inline.h:9::60 :note46: :previous definition is here note: expanded from macro 'toupper' #define pthread_cond_signal __libc_cond_signal ^ #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))In file included from strings.c ^: 42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:5230:: In file included from 47/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.hexpanded from macro 'AST_INLINE_API': 564:9:# define AST_INLINE_API(hdr, body) inline hdr body warning: ^~~~'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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.hIn file included from :strcompat.c369::389: note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:#define pthread_cond_wait __libc_cond_wait994 : ^22 :In file included from strings.c:warning42: : array subscript is of type 'char' [-Wchar-subscripts]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 hash = hash * 33 ^ tolower(*str++);: 32 ^~~~~~~~~~~~~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:/usr/include/sys/ctype_inline.h566::9: warning: 59'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 46: note: expanded from macro 'tolower' #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))/usr/include/pthread.h : ^~~~370 :9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ stdtime/localtime.c:394:6: warning: incompatible integer to pointer conversion assigning to 'struct state *' from '__intptr_t' (aka 'long') [-Wint-conversion] sp = kev.udata; ^ ~~~~~~~~~ In file included from 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 In file included from strings.c#define pthread_cond_timedwait __libc_cond_timedwait: 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)])) ^~~~ 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)])) ^~~~ 13 warnings generated. [LD] app_amd.o -> app_amd.so stdtime/localtime.c:2194:29: warning: unused function 'find_by_locale' [-Wunused-function] static struct locale_entry *find_by_locale(locale_t locale) ^ 13 warnings generated. [LD] app_forkcdr.o -> app_forkcdr.so 15 warnings generated. 13 warnings generated. 23 warnings generated. [LD] app_read.o -> app_read.so [LD] app_adsiprog.o -> app_adsiprog.so [LD] app_waitforsilence.o -> app_waitforsilence.so [CC] syslog.c -> syslog.o [CC] taskprocessor.c -> taskprocessor.o 13 warnings generated. [LD] app_controlplayback.o -> app_controlplayback.so 13 warnings generated. [CC] tcptls.c -> tcptls.o [CC] tdd.c -> tdd.o [LD] app_url.o -> app_url.so [CC] term.c -> term.o [CC] test.c -> test.o [LD] app_originate.o -> app_originate.so 13 warnings generated. [LD] app_authenticate.o -> app_authenticate.so In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from [CC] threadstorage.c -> threadstorage.o 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 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)])) ^~~~ [LD] app_playtones.o -> app_playtones.so [CC] timing.c -> timing.o [CC] translate.c -> translate.o In file included from taskprocessor.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 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)])) ^~~~ 13 warnings generated. [CC] udptl.c -> udptl.o [LD] app_setcallerid.o -> app_setcallerid.so In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from term.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ tdd.c:316:7: warning: array subscript is of type 'char' [-Wchar-subscripts] c = toupper(str[x]); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 15 warnings generated. [CC] ulaw.c -> ulaw.o 13 warnings generated. [LD] app_celgenuserevent.o -> app_celgenuserevent.so [CC] utils.c -> utils.o 13 warnings generated. [LD] app_queue.o -> app_queue.so [LD] app_record.o -> app_record.so 13 warnings generated. [CC] version.c -> version.o [CC] xml.c -> xml.o In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); [LD] app_dial.o -> app_dial.so ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ 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 [CC] xmldoc.c -> xmldoc.o : 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from translate.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from translate.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from translate.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ creating cache ./config.cache checking for gcc... clang checking whether the C compiler (clang -pthread -I../..//include -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fnested-functions -g3 -pthread -I/usr/pkg/include -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib ) works... 13 warnings generated. 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 *, ^ [CC] hash/hash.c -> hash/hash.o [LD] app_speech_utils.o -> app_speech_utils.so 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. [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o 13 warnings 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.... [LD] app_channelredirect.o -> app_channelredirect.so [CC] hash/hash_buf.c -> hash/hash_buf.o [LD] app_ices.o -> app_ices.so [CC] hash/hash_func.c -> hash/hash_func.o 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_log2.c -> hash/hash_log2.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_page.c -> hash/hash_page.o [LD] app_chanspy.o -> app_chanspy.so 16 warnings generated. 13 warnings generated. [LD] app_echo.o -> app_echo.so [CC] hash/ndbm.c -> hash/ndbm.o 16 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... [LD] app_zapateller.o -> app_zapateller.so [CC] btree/bt_close.c -> btree/bt_close.o [CC] btree/bt_conv.c -> btree/bt_conv.o 1 warning generated. [LD] app_followme.o -> app_followme.so [LD] app_verbose.o -> app_verbose.so [CC] btree/bt_debug.c -> btree/bt_debug.o [CC] btree/bt_delete.c -> btree/bt_delete.o [LD] app_playback.o -> app_playback.so [LD] app_directory.o -> app_directory.so [CC] btree/bt_get.c -> btree/bt_get.o yes checking whether clang accepts -g... [CC] btree/bt_open.c -> btree/bt_open.o [LD] app_disa.o -> app_disa.so [CC] btree/bt_overflow.c -> btree/bt_overflow.o 13 warnings generated. [CC] btree/bt_page.c -> btree/bt_page.o 31 warnings generated. [LD] app_mp3.o -> app_mp3.so [CC] btree/bt_put.c -> btree/bt_put.o [LD] app_parkandannounce.o -> app_parkandannounce.so [LD] app_getcpeid.o -> app_getcpeid.so [LD] app_readexten.o -> app_readexten.so [CC] btree/bt_search.c -> btree/bt_search.o [LD] app_senddtmf.o -> app_senddtmf.so [CC] btree/bt_seq.c -> btree/bt_seq.o [CC] btree/bt_split.c -> btree/bt_split.o [CC] btree/bt_utils.c -> btree/bt_utils.o [LD] app_while.o -> app_while.so 14 warnings generated. [CC] db/db.c -> db/db.o [CC] mpool/mpool.c -> mpool/mpool.o yes checking how to run the C preprocessor... clang-cpp checking for mawk... /usr/bin/awk checking host system type... [LD] app_milliwatt.o -> app_milliwatt.so x86_64--netbsd checking ABI... [CC] recno/rec_close.c -> recno/rec_close.o [LD] app_exec.o -> app_exec.so [LD] app_readfile.o -> app_readfile.so [LD] app_stack.o -> app_stack.so [LD] app_confbridge.o -> app_confbridge.so [LD] app_userevent.o -> app_userevent.so [CC] recno/rec_delete.c -> recno/rec_delete.o [CC] recno/rec_get.c -> recno/rec_get.o 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 ^ [CC] recno/rec_open.c -> recno/rec_open.o [LD] app_sayunixtime.o -> app_sayunixtime.so [LD] app_chanisavail.o -> app_chanisavail.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:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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_transfer.o -> app_transfer.so [CC] recno/rec_put.c -> recno/rec_put.o elf checking for a BSD compatible install... /usr/bin/install -c -o pbulkXXX -g users checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... 13 warnings generated. [LD] app_dumpchan.o -> app_dumpchan.so [LD] app_test.o -> app_test.so [LD] app_nbscat.o -> app_nbscat.so [LD] app_sendtext.o -> app_sendtext.so [LD] app_image.o -> app_image.so 13 warnings generated. [CC] recno/rec_search.c -> recno/rec_search.o [CC] recno/rec_seq.c -> recno/rec_seq.o [LD] app_softhangup.o -> app_softhangup.so [LD] app_minivm.o -> app_minivm.so [CC] recno/rec_utils.c -> recno/rec_utils.o [LD] app_morsecode.o -> app_morsecode.so [LD] app_voicemail.o -> app_voicemail.so [LD] app_festival.o -> app_festival.so [LD] app_system.o -> app_system.so [LD] app_mixmonitor.o -> app_mixmonitor.so [LD] app_privacy.o -> app_privacy.so yes checking for termcap.h... yes checking for sys/cdefs.h... [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o -> libdb1.a yes checking for vis.h... yes checking for issetugid... yes checking for fgetln... yes checking for strvis... yes checking for strunvis... yes checking for strlcpy... yes checking for strlcat... yes updating cache ./config.cache creating ./config.status creating Makefile creating makelist creating config.h In file included from editline.c:5: ./emacs.c:297:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = toupper(*cp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ In file included from editline.c:5: ./emacs.c:322:11: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = toupper(*cp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ In file included from editline.c:5: ./emacs.c:329:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = tolower(*cp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from editline.c:5: ./emacs.c:353:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *cp = tolower(*cp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from editline.c:8: ./el.c:173:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] el->el_flags &= ~HANDLE_SIGNALS; ~^~~~~~~~~~~~~~ ./el.h:58:25: note: expanded from macro 'HANDLE_SIGNALS' #define HANDLE_SIGNALS 1<<0 ^ In file included from editline.c:8: ./el.c:244:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] el->el_flags &= ~EDIT_DISABLED; ~^~~~~~~~~~~~~ ./el.h:60:24: note: expanded from macro 'EDIT_DISABLED' #define EDIT_DISABLED 1<<2 ^ In file included from editline.c:8: ./el.c:501:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] el->el_flags &= ~EDIT_DISABLED; ~^~~~~~~~~~~~~ ./el.h:60:24: note: expanded from macro 'EDIT_DISABLED' #define EDIT_DISABLED 1<<2 ^ 7 warnings generated. Makefile:347: recipe for target 'main' failed gmake: *** [main] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/comms/asterisk18 *** Error code 1 Stop. make: stopped in /data/pkgsrc/comms/asterisk18