=> 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.3nb17 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 Generating embedded module rules ... channels pbx apps codecs formats [CC] eagi-test.c -> eagi-test.o [CC] cdr_manager.c -> cdr_manager.o [CC] astcanary.c -> astcanary.o [CC] app_waituntil.c -> app_waituntil.o [CC] bridge_builtin_features.c -> bridge_builtin_features.o [CC] pbx_config.c -> pbx_config.o [CC] abstract_jb.c -> abstract_jb.o [CC] chan_iax2.c -> chan_iax2.o [CC] func_global.c -> func_global.o [CC] format_sln16.c -> format_sln16.o [CC] adsi.c -> adsi.o [CC] cel_manager.c -> cel_manager.o [CC] acl.c -> acl.o [CC] res_timing_kqueue.c -> res_timing_kqueue.o [CC] anaFilter.c -> anaFilter.o cdr cel bridges funcs tests main In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from adsi.c:26: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: In file included from previous definition is herefunc_global.c :38: In file included from #define pthread_cond_destroy __libc_cond_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h : ^31 : In file included from In file included from chan_iax2.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::61750: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::563935::910:: warningwarning: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal *pos = toupper(*pos); ^ ~~~~~~~^~~~~~~~~~~~~~ /usr/include/pthread.h:367:/usr/include/sys/ctype_inline.h9::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 chan_iax2.c ^: 61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::52564::479:: notewarning: : expanded from macro 'AST_INLINE_API''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 chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from chan_iax2.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from func_global.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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] 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: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::34323: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::5579:9:: warningnote: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]previous definition is here #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock #define pthread_mutex_lock __libc_mutex_lock ^ /usr/include/pthread.h: ^345 :9: In file included from note: format_sln16.cprevious definition is here: 34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h#define pthread_mutex_unlock __libc_mutex_unlock : ^ 28In file included from : pbx_config.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h37: :In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::12723: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::55721:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23: warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :558:'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]9 : warning: '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.h344::3459::9 :note : noteprevious definition is here: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from ^pbx_config.c :37In file included from : format_sln16.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h34:: 26In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h28:127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:36:: In file included from 21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::23558: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9:: 559warning:: 9:'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] 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#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: 344 ^: 9/usr/include/pthread.h: :note342: :previous definition is here 9: note#define pthread_mutex_trylock __libc_mutex_trylock: previous definition is here ^ In file included from #define pthread_mutex_init __libc_mutex_initformat_sln16.c : ^34 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hpbx_config.c::2837: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::3626: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::23127: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h559::921:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :23'pthread_mutex_init' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initwarning : ^'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:342:9#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: ^note : /usr/include/pthread.hprevious definition is here: 346:9:#define pthread_mutex_init __libc_mutex_init ^note: previous definition is hereIn file included from format_sln16.c:34: In file included from #define pthread_mutex_destroy __libc_mutex_destroy /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: ^28 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hpbx_config.c::36: 37In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::26560: :9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :warning127: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: 23 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::561346::99:: notewarning: : previous definition is here'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy __libc_mutex_destroy #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ In file included from ^format_sln16.c :/usr/include/pthread.h34:: 366In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:9:: 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 #define pthread_cond_init __libc_cond_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^: 23In file included from : pbx_config.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:37: :In file included from 561/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::269: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: 127: warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:'pthread_cond_init' macro redefined [-Wmacro-redefined]21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initwarning : ^'pthread_cond_destroy' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:366:9#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: ^ note/usr/include/pthread.h:371: :previous definition is here9 : note: previous definition is here #define pthread_cond_init __libc_cond_init ^#define pthread_cond_destroy __libc_cond_destroy ^In file included from format_sln16.c:In file included from pbx_config.c34:: 37: 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/mod_format.h::2628: : 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/frame.h:127:: 36In 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/linkedlists.h: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h23:: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::563562:9:: warning: 9'pthread_cond_signal' macro redefined [-Wmacro-redefined] : warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy367 : ^9 :/usr/include/pthread.h :note371: :previous definition is here9 : note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ #define pthread_cond_destroy __libc_cond_destroyIn file included from pbx_config.c ^: 37: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hformat_sln16.c::2634: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :In file included from 28/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/frame.h::2336: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:56423:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::563 :warning9: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal /usr/include/pthread.h ^: 368:/usr/include/pthread.h9::367 :note9:: previous definition is herenote : previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast #define pthread_cond_signal __libc_cond_signal ^ ^ In file included from format_sln16.cIn file included from :pbx_config.c34:: 37In file included from : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h::2826: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:36127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:21:: 23In 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::56423:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 565warning:: 9'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 ^: In file included from /usr/include/pthread.happ_waituntil.c9::369 ::note937:: previous definition is herenote: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: previous definition is here: #define pthread_cond_broadcast __libc_cond_broadcast 127 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_wait __libc_cond_waitIn file included from : ^format_sln16.c :21In file included from : pbx_config.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h3437:: : In file included from 23In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:::28556: 26:: 9In 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/frame.h::127 : 36In file included from : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :21: 23In 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::56523:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: warning566: :'pthread_cond_wait' macro redefined [-Wmacro-redefined]9 : warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait /usr/include/pthread.h ^ :/usr/include/pthread.h369::3709::9: notenote: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockprevious definition is here: previous definition is here ^#define pthread_cond_timedwait __libc_cond_timedwait #define pthread_cond_wait __libc_cond_wait ^ ^ In file included from format_sln16.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28/usr/include/pthread.h: :In file included from 343/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::369: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h note:: 23previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:#define pthread_mutex_lock __libc_mutex_lock9 : ^ warning: In file included from 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]In file included from app_waituntil.cchan_iax2.c::3763: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#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 ^: 127/usr/include/pthread.h: :In file included from 144370/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::: 219In file included from :: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h :In file included from note30/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :: 23previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h ::557750: :#define pthread_cond_timedwait __libc_cond_timedwait9 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h ^:: 935 :warning10: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345 *pos = toupper(*pos);: 9 ~~~~~~~^~~~~~~~~~~~~~: note: previous definition is here /usr/include/sys/ctype_inline.h:60:46:#define pthread_mutex_unlock __libc_mutex_unlock ^note : expanded from macro 'toupper'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#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ^:21 : 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/linkedlists.h::5223:47: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note558: :expanded from macro 'AST_INLINE_API'9 : warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]# define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9In file included from :chan_iax2.c :63warning: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144'pthread_mutex_init' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init994 : ^22 :/usr/include/pthread.h warning:: array subscript is of type 'char' [-Wchar-subscripts] 342: hash = hash * 33 ^ tolower(*str++);9 : ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.hnote:: 59previous definition is here: 46: note: #define pthread_mutex_init __libc_mutex_initexpanded from macro 'tolower' ^ In file included from #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))app_waituntil.c : ^~~~37 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from pbx_config.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_config.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from format_sln16.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_sln16.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_waituntil.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is herepbx_config.c :346#define pthread_mutex_lock __libc_mutex_lock: 17 ^: In file included from warningcdr_manager.c: :array subscript is of type 'char' [-Wchar-subscripts]38 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: while (*c && isdigit(*c))127 : ^~~~~~~~~~~In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:/usr/include/sys/ctype_inline.h21:: 51In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:4423:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 557:9expanded from macro 'isdigit': warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^~~~ ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 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] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from cel_manager.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cel_manager.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cel_manager.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] In file included from #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockabstract_jb.c : ^40 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h344::369: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote: :previous definition is here23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_mutex_trylock __libc_mutex_trylock556 : ^9 :In file included from cel_manager.cwarning:: 40'pthread_mutex_lock' 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:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock#define pthread_mutex_init __libc_mutex_init ^ ^ In file included from cel_manager.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:/usr/include/pthread.h127:: 343In 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.h: :previous definition is here23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: #define pthread_mutex_lock __libc_mutex_lock'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] ^ In file included from abstract_jb.c#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: ^40 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h346::936:: noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hprevious definition is here: 23: 11#define pthread_mutex_destroy __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h warning s ^ generated. : 557In file included from :cel_manager.c9::40: 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:561:9#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: warning ^: 'pthread_cond_init' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :345:9#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: ^note : /usr/include/pthread.hprevious definition is here: 366:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^#define pthread_cond_init __libc_cond_init ^ In file included from In file included from abstract_jb.ccel_manager.c::4040: : 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/frame.h::12736: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2123: : 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::55823:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 562warning:9: : 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock /usr/include/pthread.h ^: 371/usr/include/pthread.h:9::344 :note9: :previous definition is here note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cel_manager.c:#define pthread_mutex_trylock __libc_mutex_trylock40 : ^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 :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:4021: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2336: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h563::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning559: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]9 : warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init note ^: previous definition is here /usr/include/pthread.h:342:#define pthread_cond_signal __libc_cond_signal9 : ^ note: In file included from previous definition is herecel_manager.c :40: 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 ^: 21In file included from : abstract_jb.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h40:23: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::56436:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h warning:: 23'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: ^warning : /usr/include/pthread.h'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 368:9: note: previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy#define pthread_cond_broadcast __libc_cond_broadcast ^ ^ /usr/include/pthread.hIn file included from :cel_manager.c346:40:: 9In 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: #define pthread_mutex_destroy __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^565 :9: warningIn file included from : abstract_jb.c'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 40: 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/frame.h : ^ 36/usr/include/pthread.h: :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: 561:9:#define pthread_cond_wait __libc_cond_wait warning ^: 'pthread_cond_init' macro redefined [-Wmacro-redefined]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: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ^: 21/usr/include/pthread.h: :In file included from 366/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::923:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:note566: :previous definition is here9: warning: '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 abstract_jb.c :/usr/include/pthread.h40:: 370In 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: #define pthread_cond_timedwait __libc_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^562 :9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from abstract_jb.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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_broadcastIn file included from cdr_manager.c ^: 38/usr/include/pthread.h: :In file included from 368/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9144:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h: :previous definition is here30 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_broadcast __libc_cond_broadcast: 750 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:In file included from 935bridge_builtin_features.c::1042:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :array subscript is of type 'char' [-Wchar-subscripts]31 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: *pos = toupper(*pos);32 : ~~~~~~~^~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/sys/ctype_inline.h565::9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_timing_kqueue.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o 60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cdr_manager.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ res_timing_kqueue.c:161:2: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'void *' [-Wint-conversion] EV_SET(&kev, our_timer->handle, EVFILT_TIMER, EV_ADD | EV_ENABLE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET' (kevp)->udata = (f); \ ^ ~~~ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from bridge_builtin_features.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ res 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:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from acl.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hcel_manager.c::4021: : 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::14423: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::55730:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :warning750: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: 935:10#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: ^warning : /usr/include/pthread.harray subscript is of type 'char' [-Wchar-subscripts]: 345In file included from :abstract_jb.c9:: *pos = toupper(*pos);41 : noteIn file included from : previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ~~~~~~~^~~~~~~~~~~~~~: 144#define pthread_mutex_unlock __libc_mutex_unlock: /usr/include/sys/ctype_inline.h In file included from ^: 60/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::In file included from 46acl.c30::: 49In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h750:: 127: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hIn file included from expanded from macro 'toupper': /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h935:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))21:: 10In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23warning ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h558::array subscript is of type 'char' [-Wchar-subscripts]529:: 47warning:: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] *pos = toupper(*pos); note : ~~~~~~~^~~~~~~~~~~~~~expanded from macro 'AST_INLINE_API'#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^/usr/include/sys/ctype_inline.h # define AST_INLINE_API(hdr, body) inline hdr body/usr/include/pthread.h: 60 ^~~~::344 :469: :note : noteexpanded from macro 'toupper': 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:In file included from 52acl.c::4749:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from : :cel_manager.cexpanded from macro 'AST_INLINE_API'127:: 40In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h# define AST_INLINE_API(hdr, body) inline hdr body:21144: : In file included from ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h In file included from :/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.hchan_iax2.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::7505985: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h6559:::9949In file included from : warningwarningabstract_jb.c: : absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 22:: if (abs(ms - pred) < MAX_TIMESTAMP_SKEW)41 #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: warning ^: In file included from array subscript is of type 'char' [-Wchar-subscripts] /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h : hash = hash * 33 ^ tolower(*str++);144 ^ ^~~~~~~~~~~~~~~ : /usr/include/pthread.h :/usr/include/sys/ctype_inline.h342In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::59309:: 46:chan_iax2.cIn file included from ::5985 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h notenote:: 6expanded from macro 'tolower': :: 750 #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) : ^~~~note previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :: 994use function 'labs' instead:#define pthread_mutex_init __libc_mutex_init 22 ^: if (abs(ms - pred) < MAX_TIMESTAMP_SKEW) In file included from warningacl.c : :array subscript is of type 'char' [-Wchar-subscripts] ^~~49 : labsIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21 hash = hash * 33 ^ tolower(*str++);: In file included from ^~~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :/usr/include/sys/ctype_inline.h23:: 59/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::46560:: 9note:: expanded from macro 'tolower'warning : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from acl.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from acl.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from acl.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from acl.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast chan_iax2.c ^: 6057/usr/include/pthread.h::26368:: warning9: :taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] note: previous definition is here if (p->notsilenttx && abs(ms - p->nextpred) <= MAX_TIMESTAMP_SKEW) { ^ #define pthread_cond_broadcast __libc_cond_broadcast ^ chan_iax2.cIn file included from :acl.c6057::4926:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :remove the call to 'abs' since unsigned values cannot be negative127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h if (p->notsilenttx && abs(ms - p->nextpred) <= MAX_TIMESTAMP_SKEW) {: 21 ^~~: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565chan_iax2.c::96098:: 21warning:: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]warning : taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait if (iaxdebug && abs(ms - p->nextpred) > MAX_TIMESTAMP_SKEW ) ^ ^ /usr/include/pthread.hchan_iax2.c::3696098::921:: notenote: : previous definition is hereremove the call to 'abs' since unsigned values cannot be negative #define pthread_cond_wait __libc_cond_wait if (iaxdebug && abs(ms - p->nextpred) > MAX_TIMESTAMP_SKEW ) ^ ^~~ 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:chan_iax2.c21:: 6100In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h7::23 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]566 :9: abs(ms - p->nextpred), MAX_TIMESTAMP_SKEW); warning ^: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] chan_iax2.c:6100:7: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitnote: remove the call to 'abs' since unsigned values cannot be negative ^ /usr/include/pthread.h: abs(ms - p->nextpred), MAX_TIMESTAMP_SKEW);370 : ^~~ 9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h :note238: :previous definition is here26 : #define pthread_cond_timedwait __libc_cond_timedwaitnote : ^expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ chan_iax2.c:6130:15: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] } else if (abs(ms - p->lastsent) <= MAX_TIMESTAMP_SKEW) { ^ chan_iax2.c:6130:15: note: remove the call to 'abs' since unsigned values cannot be negative } else if (abs(ms - p->lastsent) <= MAX_TIMESTAMP_SKEW) { ^~~ 13 warnings generated. [CC] app_sms.c -> app_sms.o 13 warnings generated. [CC] format_g729.c -> format_g729.o [CC] func_aes.c -> func_aes.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)])) ^~~~ [CC] alaw.c -> alaw.o [LD] astcanary.o -> astcanary [CC] constants.c -> constants.o addons [CC] f2clib.c -> f2clib.o 14 warnings generated. 13 warnings generated. [CC] res_smdi.c -> res_smdi.o [CC] bridge_simple.c -> bridge_simple.o 13 warnings generated. [CC] cel_custom.c -> cel_custom.o 13 warnings generated. [CC] cdr_custom.c -> cdr_custom.o chan_iax2.c:1805:33: warning: unused function 'user_ref' [-Wunused-function] static inline struct iax2_user *user_ref(struct iax2_user *user) ^ 13 warnings generated. [CC] analys.c -> analys.o 13 warnings generated. [CC] strcompat.c -> strcompat.o In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_sms.c:50: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] createCB.c -> createCB.o [CC] src/add.c -> src/add.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 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] 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)])) ^~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 ^ 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)) ^~~~ 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: app_sms.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h754::318: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hwarning:: 32array subscript is of type 'char' [-Wchar-subscripts]: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: if (!isdigit(*i)) { /* ignore non-digits */warning : ^~~~~~~~~~~'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] /usr/include/sys/ctype_inline.h:51:44: note#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: expanded from macro 'isdigit' ^ /usr/include/pthread.h:344:9#define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)): ^~~~note : previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^app_sms.c :In file included from 803func_aes.c:12::34 : warning: In file included from implicit conversion from 'int' to 'char' changes value from 191 to -65 [-Wconstant-conversion]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: 31 *p++ = 191;: In file included from ~ ^~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from func_aes.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ app_sms.c/usr/include/pthread.h::844370::119:: warningnote: : array subscript is of type 'char' [-Wchar-subscripts]previous definition is here while (isalnum(*p)) { ^~~~~~~~~~~#define pthread_cond_timedwait __libc_cond_timedwait ^ /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)) ^~~~ 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)]))app_sms.c : ^912 :12:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :warning52: :array subscript is of type 'char' [-Wchar-subscripts]47 : note: expanded from macro 'AST_INLINE_API' if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) {# define AST_INLINE_API(hdr, body) inline hdr body ^~~~~~~~~~~~ ^~~~ /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])) { ^~~~~~~~~~~~~~In file included from format_g729.c/usr/include/sys/ctype_inline.h::3858: :In file included from 45/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:: 31note: : In file included from expanded from macro 'isxdigit'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22:#define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) warning ^~~~: array subscript is of type 'char' [-Wchar-subscripts] app_sms.c hash = hash * 33 ^ tolower(*str++);: 912 ^~~~~~~~~~~~~~~:64 :/usr/include/sys/ctype_inline.h :warning59: :array subscript is of type 'char' [-Wchar-subscripts]46 : note: expanded from macro 'tolower' if (isxdigit(*p) && isxdigit(p[1]) && isxdigit(p[2]) && isxdigit(p[3])) { ^~~~~~~~~~~~~~ #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))/usr/include/sys/ctype_inline.h : ^~~~58 :45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:914:13: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 12) + ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:915:13: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)) << 8) + ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:916:13: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(p[2]) ? 9 : 0) + (p[2] & 0xF)) << 4) + ((isalpha(p[3]) ? 9 : 0) + (p[3] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:916:62: warning: array subscript is of type 'char' [-Wchar-subscripts] (((isalpha(p[2]) ? 9 : 0) + (p[2] & 0xF)) << 4) + ((isalpha(p[3]) ? 9 : 0) + (p[3] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:929:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:929:27: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:930:24: warning: array subscript is of type 'char' [-Wchar-subscripts] h->ud[o++] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:930:69: warning: array subscript is of type 'char' [-Wchar-subscripts] h->ud[o++] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:944:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:944:27: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit(*p) && isxdigit(p[1])) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ app_sms.c:945:23: warning: array subscript is of type 'char' [-Wchar-subscripts] h->udh[o] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ app_sms.c:945:68: warning: array subscript is of type 'char' [-Wchar-subscripts] h->udh[o] = (((isalpha(*p) ? 9 : 0) + (*p & 0xF)) << 4) + ((isalpha(p[1]) ? 9 : 0) + (p[1] & 0xF)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ In file included from 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)])) ^~~~ 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] format_vox.c -> format_vox.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] aoc.c -> aoc.o In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is hereIn file included from cel_custom.c:41: In file included from #define pthread_mutex_lock __libc_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :144 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:In file included from 30cdr_custom.c: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h44:750: : 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/channel.h::935127:: 10In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : array subscript is of type 'char' [-Wchar-subscripts]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock *pos = toupper(*pos); ^ ~~~~~~~^~~~~~~~~~~~~~/usr/include/pthread.h :345/usr/include/sys/ctype_inline.h::960:: 46:note: previous definition is herenote: expanded from macro 'toupper' #define pthread_mutex_unlock __libc_mutex_unlock #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hIn file included from :cdr_custom.c52::4447: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 127expanded from macro 'AST_INLINE_API': In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21# 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/linkedlists.h :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_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 cdr_custom.ccel_custom.c::4441: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::144127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::2130: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::75023: : /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:994::55922::9 :warning : warningarray subscript is of type 'char' [-Wchar-subscripts]: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: 59 ^: 46/usr/include/pthread.h:: 342note:: 9expanded from macro 'tolower': note: previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define pthread_mutex_init __libc_mutex_init ^ In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9In file included from :res_smdi.c :warning47: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 556 ^: 9/usr/include/pthread.h:: 368warning: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]9 : note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:/usr/include/pthread.h9:343:: 9:note : noteprevious definition is here: previous definition is here #define pthread_cond_wait __libc_cond_wait #define pthread_mutex_lock __libc_mutex_lock ^ ^ In file included from cdr_custom.cIn file included from :res_smdi.c44:: 47In 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.h:12731: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::3221: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h557:23:9: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :566:warning9: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: note ^: previous definition is here /usr/include/pthread.h:370:#define pthread_mutex_unlock __libc_mutex_unlock9 : ^ noteIn file included from res_smdi.c: :previous definition is here47 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_timedwait __libc_cond_timedwait: 32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_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 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 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 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 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 ^~~~ 13 warnings generated. In file included from cdr_custom.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o [CC] bridge_softmix.c -> bridge_softmix.o 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)) ^~~~ 13 warnings generated. [CC] func_devstate.c -> func_devstate.o 13 warnings generated. [LD] eagi-sphinx-test.o -> eagi-sphinx-test 13 warnings generated. [CC] cdr_csv.c -> cdr_csv.o In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] 13 warnings#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal generated. ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from strcompat.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_alarmreceiver.c -> app_alarmreceiver.o In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_vox.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:In file included from 36strcompat.c: :In file included from 38/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/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::9935:: 10warning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]warning : array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ *pos = toupper(*pos); In file included from format_vox.c ~~~~~~~^~~~~~~~~~~~~~: 35: In file included from /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::6028:: 46In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :note36: : expanded from macro 'toupper'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))563 : ^9 :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :warning52: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]47 : note: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalexpanded from macro 'AST_INLINE_API' ^ /usr/include/pthread.h:# define AST_INLINE_API(hdr, body) inline hdr body367 : ^~~~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 In file included from #define pthread_cond_broadcast __libc_cond_broadcaststrcompat.c : ^38 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hformat_vox.c::75035: : /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/mod_format.h994::2822: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hwarning:: 36array subscript is of type 'char' [-Wchar-subscripts]: In file included from hash = hash * 33 ^ tolower(*str++);/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::59565::469:: notewarning: : expanded from macro 'tolower''pthread_cond_wait' macro redefined [-Wmacro-redefined] #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 format_vox.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_vox.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] res_convert.c -> res_convert.o [CC] src/code.c -> src/code.o 15 warnings generated. [CC] bsynz.c -> bsynz.o [CC] pbx_loopback.c -> pbx_loopback.o In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cel_sqlite3_custom.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] eagi-test.o strcompat.o -> eagi-test In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from aoc.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/aoc.h:29: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] doCPLC.c -> doCPLC.o cel_sqlite3_custom.c:64:19: warning: unused variable 'name' [-Wunused-const-variable] static const char name[] = "cel_sqlite3_custom"; ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from bridge_softmix.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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:139: warningnotes generated. : previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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] format_wav.c -> format_wav.o In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_devstate.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] func_sprintf.c -> func_sprintf.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_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 app_alarmreceiver.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_alarmreceiver.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cdr_csv.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] bridge_multiplexed.c -> bridge_multiplexed.o 13 warnings generated. [CC] src/debug.c -> src/debug.o 14 warnings generated. [LD] cel_manager.o -> cel_manager.so 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 ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from pbx_loopback.c:35: In file included from [CC] app.c -> app.o /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from pbx_loopback.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_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_convert.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_convert.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ [LD] cel_custom.o -> cel_custom.so In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_wav.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] enhancer.c -> enhancer.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 ^ [CC] chanwr.c -> chanwr.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 func_sprintf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_sprintf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 14 warnings generated. In file included from bridge_multiplexed.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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] app_externalivr.c -> app_externalivr.o [CC] cdr_syslog.c -> cdr_syslog.o [CC] src/decode.c -> src/decode.o [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so 13 warnings generated. 13 warnings generated. [CC] pbx_dundi.c -> pbx_dundi.o [CC] res_config_ldap.c -> res_config_ldap.o 13 warnings generated. [CC] format_gsm.c -> format_gsm.o In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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: 13warning warning: s'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] generated. #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 ^ [CC] func_sysinfo.c -> func_sysinfo.o 13 warnings generated. 13 warnings generated. [CC] codec_alaw.c -> codec_alaw.o In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app.c:51: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] dcbias.c -> dcbias.o [CC] res_realtime.c -> res_realtime.o 13 warnings generated. [LD] bridge_builtin_features.o -> bridge_builtin_features.so app.c:2343:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (toupper(u[1]) == 'S') { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 37 warnings generated. [CC] dundi-parser.c -> dundi-parser.o [LD] bridge_simple.o -> bridge_simple.so 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] In file included from cdr_syslog.c#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: 39 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::34531:: 9In 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 :556:9#define pthread_mutex_unlock __libc_mutex_unlock: ^warning : In file included from 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]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:#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock9 : ^ warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:343: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_lock __libc_mutex_lock ^ In file included from #define pthread_mutex_init __libc_mutex_initcdr_syslog.c : ^39 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.happ_externalivr.c::3144: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:560::329: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning557: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]9 : warning: 'pthread_mutex_unlock' 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_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: 9 ^: /usr/include/pthread.hnote:: 345previous definition is here:9 : note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ #define pthread_mutex_unlock __libc_mutex_unlock ^In file included from app_externalivr.c:In file included from 44cdr_syslog.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h39:: 561In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h9::31 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h'pthread_cond_init' macro redefined [-Wmacro-redefined]: 32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:366:9:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock note ^: previous definition is here/usr/include/pthread.h :344:9: #define pthread_cond_init __libc_cond_initnote : ^previous definition is here In file included from app_externalivr.c:#define pthread_mutex_trylock __libc_mutex_trylock44 : ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 562cdr_syslog.c::939:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]31 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^559 :/usr/include/pthread.h9::371 :warning9: :'pthread_mutex_init' macro redefined [-Wmacro-redefined] note: previous definition is here #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init #define pthread_cond_destroy __libc_cond_destroy ^ ^/usr/include/pthread.h :342In file included from :app_externalivr.c9::44 : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :previous definition is here563 :9: warning#define pthread_mutex_init __libc_mutex_init: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] ^ In file included from cdr_syslog.c:39: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h ^: 31/usr/include/pthread.h: :In file included from 367/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:: 560previous definition is here: 9: warning#define pthread_cond_signal __libc_cond_signal: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] ^ In file included from app_externalivr.c:44: /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_destroy564 : ^9 :/usr/include/pthread.h :warning346: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]9 : note: previous definition is here #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast #define pthread_mutex_destroy __libc_mutex_destroy ^ ^/usr/include/pthread.h :368In file included from :cdr_syslog.c9::39 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hprevious definition is here: 31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32#define pthread_cond_broadcast __libc_cond_broadcast: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 561:In file included from 9app_externalivr.c:: 44warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_init' macro redefined [-Wmacro-redefined]: 565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 9 ^: /usr/include/pthread.hnote:: 369previous definition is here:9 : note: previous definition is here#define pthread_cond_init __libc_cond_init ^ #define pthread_cond_wait __libc_cond_waitIn file included from cdr_syslog.c ^: 39: In file included from In file included from app_externalivr.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::4431: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h566::329: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning562: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]9 : warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy370 :9 ^: /usr/include/pthread.hnote:: 371previous definition is here :9: note: previous definition is here#define pthread_cond_timedwait __libc_cond_timedwait ^ #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cdr_syslog.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cdr_syslog.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_syslog.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cdr_syslog.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 ^ [CC] src/long_term.c -> src/long_term.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:368In file included from :pbx_dundi.c9:: 49note: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hprevious definition is here :144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h#define pthread_cond_broadcast __libc_cond_broadcast: 30 ^ : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hres_config_ldap.c::75049: : 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/channel.h::935127:: 10In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :warning21: : array subscript is of type 'char' [-Wchar-subscripts]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h/usr/include/sys/ctype_inline.h::36960::946: :note note: : expanded from macro 'toupper'previous definition is here #define pthread_cond_wait __libc_cond_wait #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ ^ In file included from res_config_ldap.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h::4952: :In file included from 47/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127note: : expanded from macro 'AST_INLINE_API'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 AST_INLINE_API(hdr, body) inline hdr body 23 ^~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from pbx_dundi.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from cdr_syslog.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cdr_syslog.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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_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 [CC] app_dictate.c -> app_dictate.o : 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:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 In file included from format_gsm.c#define pthread_mutex_trylock __libc_mutex_trylock : ^ 34In file included from : codec_alaw.cIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::3428: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::36: 31In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn 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:: 562/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9559:: 9warning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]warning : 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy /usr/include/pthread.h ^: 342/usr/include/pthread.h::3719:9:: notenote: : previous definition is hereprevious definition is here #define pthread_cond_destroy __libc_cond_destroy#define pthread_mutex_init __libc_mutex_init ^ ^ In file included from codec_alaw.cIn file included from :format_gsm.c:3434: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::2831: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h36:: In file included from 32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23:: 560/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9563:: 9warning:: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal/usr/include/pthread.h : ^346 :/usr/include/pthread.h9::367 :note9: :previous definition is here note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ #define pthread_cond_signal __libc_cond_signal In file included from ^ codec_alaw.cIn file included from :format_gsm.c34:: 34In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h31:: 28In 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/frame.h32:: 36/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/linkedlists.h:9::23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: 564'pthread_cond_init' macro redefined [-Wmacro-redefined]: 9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast366 : ^9 :/usr/include/pthread.h :note368: :previous definition is here9 : #define pthread_cond_init __libc_cond_init note ^: previous definition is hereIn 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:#define pthread_cond_broadcast __libc_cond_broadcast31 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:In file included from 32format_gsm.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h34:: 562In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h9::28 : In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]36 : In file included from /data/scratch/comms/asterisk18/work/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_destroy565 : ^9 :/usr/include/pthread.h :warning: 371'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 9: note: previous definition is here #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:#define pthread_cond_destroy __libc_cond_destroy369 : ^9 : In file included from note: codec_alaw.cprevious definition is here: 34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_wait __libc_cond_wait: 32 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9In file included from :format_gsm.c :warning34: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: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_signal use_ast_cond_signal_instead_of_pthread_cond_signal/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::367566::99:: note: warningprevious definition is here: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^ In file included from #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitcodec_alaw.c : ^34 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h370::931:: noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hprevious definition is here: 32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9#define pthread_cond_timedwait __libc_cond_timedwait : ^ warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 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 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] 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:#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock31 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-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/pthread.h::22:343 :warning9: :array subscript is of type 'char' [-Wchar-subscripts] note hash = hash * 33 ^ tolower(*str++);: previous definition is here ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:#define pthread_mutex_lock __libc_mutex_lock46 : ^ note: In file included from expanded from macro 'tolower'res_realtime.c :39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): In file included from ^~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_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 ^ [LD] bridge_softmix.o -> bridge_softmix.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)])) ^~~~ 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 ^ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_realtime.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from func_sysinfo.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_sysinfo.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ 13 warnings generated. [LD] bridge_multiplexed.o -> bridge_multiplexed.so [CC] format_ilbc.c -> format_ilbc.o In file included from res_config_ldap.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_config_ldap.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from dundi-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from dundi-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:913: warning snote generated. : previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_dictate.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o [CC] app_macro.c -> app_macro.o [CC] func_pitchshift.c -> func_pitchshift.o [CC] ast_expr2.c -> ast_expr2.o [CC] decode.c -> decode.o [CC] filter.c -> filter.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)])) ^~~~ 13 warnings generated. app_dictate.c:176:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] In file included from if ((f->frametype == AST_FRAME_DTMF)) {format_ilbc.c : ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~36 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] 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)) { ^~ = #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_ilbc.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] func_curl.c -> func_curl.o In file included from format_ilbc.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_ilbc.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] src/lpc.c -> src/lpc.o 14 warnings generated. [CC] iax2-parser.c -> iax2-parser.o 13 warnings generated. [CC] iax2-provision.c -> iax2-provision.o In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy13 warning ^s generated. /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. [CC] format_siren14.c -> format_siren14.o In file included from app_macro.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [LD] cdr_manager.o -> cdr_manager.so 14 warnings generated. In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: [CC] deemp.c -> deemp.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:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cdr_sqlite3_custom.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_pitchshift.c:69: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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] src/preprocess.c -> src/preprocess.o In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ast_expr2.y:217: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 ^ ast_expr2.y:542:23: warning: array subscript is of type 'char' [-Wchar-subscripts] for (i = 0, isint = (isdigit(s[0]) || s[0] == '-' || s[0]=='.'); isint && i < strlen(s); i++) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ ast_expr2.y:544:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(s[i]) && s[i] != '.') { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from iax2-parser.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from func_curl.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from func_curl.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] FrameClassify.c -> FrameClassify.o In file included from iax2-parser.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from iax2-parser.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 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.hIn 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]557 :9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ ^In file included from format_siren14.c:34: /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h343::289: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hnote:: 36previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#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 558iax2-provision.c::940:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h: :'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]30 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock32 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h557::3449:: 9warning:: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock#define pthread_mutex_trylock __libc_mutex_trylock ^ ^ /usr/include/pthread.hIn file included from :format_siren14.c345::349: :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:#define pthread_mutex_unlock __libc_mutex_unlock36 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :iax2-provision.c23:: 40/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/config.h::930:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :'pthread_mutex_init' macro redefined [-Wmacro-redefined]32 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: ^warning : /usr/include/pthread.h'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: 342:9: #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylocknote : ^previous definition is here /usr/include/pthread.h:#define pthread_mutex_init __libc_mutex_init344 :9 ^: noteIn file included from : format_siren14.cprevious definition is here: 34: In file included from #define pthread_mutex_trylock __libc_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h ^: 28: In file included from In file included from iax2-provision.c:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h40:: 36In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.hIn file included from :30/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/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::560559::99:: warningwarning: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ ^ /usr/include/pthread.h/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 [CC] res_pktccops.c -> res_pktccops.o :30: In file included from /data/scratch/comms/asterisk18/work/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: :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/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 ^ :562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_cdr.c -> app_cdr.o In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from iax2-provision.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. In file included from format_siren14.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_siren14.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. 13 warnings generated. [LD] cdr_custom.o -> cdr_custom.so [CC] src/rpe.c -> src/rpe.o [CC] format_h263.c -> format_h263.o [CC] difmag.c -> difmag.o 13 warnings generated. [CC] chan_sip.c -> chan_sip.o [CC] codec_g722.c -> codec_g722.o [LD] cdr_csv.o -> cdr_csv.so [CC] pbx_ael.c -> pbx_ael.o 15 warnings generated. [CC] func_strings.c -> func_strings.o 13 warnings generated. [LD] cdr_syslog.o -> cdr_syslog.so [CC] pbx_realtime.c -> pbx_realtime.o In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_pktccops.c:57: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :app_cdr.c127:: 36In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:21127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::2321: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h563::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning: 556'pthread_cond_signal' macro redefined [-Wmacro-redefined]: 9: warning: #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h: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: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h/usr/include/pthread.h::343368::99:: notenote: : previous definition is hereprevious definition is here #define pthread_mutex_lock __libc_mutex_lock ^#define pthread_cond_broadcast __libc_cond_broadcast ^In file included from app_cdr.c:In file included from 36res_pktccops.c: :In file included from 57/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 127/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: :In file included from 21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23:: 557/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9565:: 9warning: : warning'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait/usr/include/pthread.h : ^345 :/usr/include/pthread.h9::369 :note9: :previous definition is here note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ #define pthread_cond_wait __libc_cond_wait In file included from ^app_cdr.c :In file included from 36res_pktccops.c: :In file included from 57/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 127/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: :In file included from 21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23:: 558/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9566:: 9warning:: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait/usr/include/pthread.h : ^344 :/usr/include/pthread.h9::370 :9note:: previous definition is herenote : previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^#define pthread_cond_timedwait __libc_cond_timedwait In file included from ^app_cdr.c :36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_cdr.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 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] gainquant.c -> gainquant.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 ^ 13 warnings generated. 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] res_adsi.c -> res_adsi.o [CC] dyptrk.c -> dyptrk.o [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so 13 warnings generated. 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] app_talkdetect.c -> app_talkdetect.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' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from chan_sip.c:221: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 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 ^ 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 pbx_ael.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from pbx_ael.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] format_siren7.c -> format_siren7.o 13 warnings generated. [CC] sip/config_parser.c -> sip/config_parser.o [CC] src/gsm_destroy.c -> src/gsm_destroy.o [CC] func_speex.c -> func_speex.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 ^ 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)])) ^~~~ 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 ^ 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. 13 warnings generated. chan_sip.c:2288:11: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] if (code >= 0 && code < ARRAY_LEN(sip_reason_table)) { ~~~~ ^ ~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/Makefile.rules:109: recipe for target 'func_strings.o' failed make[1]: *** [func_strings.o] Error 1 make[1]: *** Waiting for unfinished jobs.... [CC] encode.c -> encode.o [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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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 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 ^ 15 warnings generated. In file included from res_adsi.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_adsi.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] ast_expr2f.c -> ast_expr2f.o [CC] getCBvec.c -> getCBvec.o In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_talkdetect.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/gsm_decode.c -> src/gsm_decode.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 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)])) ^~~~ chan_sip.c:10106:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = tolower(*pos); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 ^ [CC] res_crypto.c -> res_crypto.o In file included from sip/config_parser.c:30: In file included from sip/include/sip.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h: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 ^ 13 warnings generated. 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)])) ^~~~ [CC] g722/g722_decode.c -> g722/g722_decode.o 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)])) ^~~~ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from ast_expr2.fl:64: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from ast_expr2.fl:64: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ast_expr2.fl:64: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] app_directed_pickup.c -> app_directed_pickup.o 13 warnings generated. [CC] format_g726.c -> format_g726.o 13 warnings generated. chan_sip.c:15895:2: error: illegal storage class on function RAII_VAR(char *, tmpf, NULL, ast_free); ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR' auto void _dtor_ ## varname (vartype * v); \ ^ chan_sip.c:15895:2: error: function definition is not allowed here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR' void _dtor_ ## varname (vartype * v) { dtor(*v); } \ ^ chan_sip.c:16263:130: warning: address of array 'referdata->replaces_callid_fromtag' will always evaluate to 'true' [-Wpointer-bool-conversion] ast_debug(2, "Attended transfer: Will use Replace-Call-ID : %s F-tag: %s T-tag: %s\n", referdata->replaces_callid, referdata->replaces_callid_fromtag ? referdata->replaces_callid_fromtag : "", referdata->replaces_callid_totag ? referdata->replaces_callid_totag : "" ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^~~~~~~~~~~ chan_sip.c:16263:214: warning: address of array 'referdata->replaces_callid_totag' will always evaluate to 'true' [-Wpointer-bool-conversion] ast_debug(2, "Attended transfer: Will use Replace-Call-ID : %s F-tag: %s T-tag: %s\n", referdata->replaces_callid, referdata->replaces_callid_fromtag ? referdata->replaces_callid_fromtag : "", referdata->replaces_callid_totag ? referdata->replaces_callid_totag : "" ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^~~~~~~~~~~ [CC] pbx_spool.c -> pbx_spool.o chan_sip.c:16721:2: error: illegal storage class on function RAII_VAR(char *, ofbuf, NULL, ast_free); /* beware, everyone starts pointing to this */ ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR' auto void _dtor_ ## varname (vartype * v); \ ^ chan_sip.c:16721:2: error: function definition is not allowed here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR' void _dtor_ ## varname (vartype * v) { dtor(*v); } \ ^ chan_sip.c:16722:2: error: illegal storage class on function RAII_VAR(char *, namebuf, NULL, ast_free); ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:917:5: note: expanded from macro 'RAII_VAR' auto void _dtor_ ## varname (vartype * v); \ ^ chan_sip.c:16722:2: error: function definition is not allowed here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:918:42: note: expanded from macro 'RAII_VAR' void _dtor_ ## varname (vartype * v) { dtor(*v); } \ ^ chan_sip.c:17628:18: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] stalecontext = '\0'; ^~~~ chan_sip.c:17634:20: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] stalecontext = '\0'; ^~~~ chan_sip.c:18225:74: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion] ast_cli(fd, " Sess-Refresh : %s\n", strefresherparam2str(peer->stimer.st_ref)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ chan_sip.c:18282:82: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion] astman_append(s, "SIP-Sess-Refresh: %s\r\n", strefresherparam2str(peer->stimer.st_ref)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ chan_sip.c:18422:78: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion] ast_cli(a->fd, " Sess-Refresh : %s\n", strefresherparam2str(user->stimer.st_ref)); ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~ chan_sip.c:18874:72: warning: implicit conversion from enumeration type 'enum st_refresher_param' to different enumeration type 'enum st_refresher' [-Wenum-conversion] ast_cli(a->fd, " Session Refresher: %s\n", strefresherparam2str(global_st_refresher)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ [CC] energy.c -> energy.o 13 warnings generated. Makefile:347: recipe for target 'funcs' failed gmake: *** [funcs] Error 2 gmake: *** Waiting for unfinished jobs.... [CC] codec_adpcm.c -> codec_adpcm.o 13 warnings generated. [CC] sip/srtp.c -> sip/srtp.o [CC] helpfun.c -> helpfun.o chan_sip.c:24438:14: warning: address of array 'p->refer->replaces_callid_totag' will always evaluate to 'true' [-Wpointer-bool-conversion] p->refer->replaces_callid_totag ? ";to-tag=" : "", ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ~ /usr/include/ssp/stdio.h:62:59: note: expanded from macro 'snprintf' __builtin___snprintf_chk(str, len, 0, __ssp_bos(str), __VA_ARGS__) ^~~~~~~~~~~ chan_sip.c:24440:14: warning: address of array 'p->refer->replaces_callid_fromtag' will always evaluate to 'true' [-Wpointer-bool-conversion] p->refer->replaces_callid_fromtag ? ";from-tag=" : "", ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ~ /usr/include/ssp/stdio.h:62:59: note: expanded from macro 'snprintf' __builtin___snprintf_chk(str, len, 0, __ssp_bos(str), __VA_ARGS__) ^~~~~~~~~~~ [LD] pbx_config.o -> pbx_config.so In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_directed_pickup.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 13 warnings generated. [CC] res_phoneprov.c -> res_phoneprov.o In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_g726.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/gsm_encode.c -> src/gsm_encode.o In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from pbx_spool.c:47: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from format_g726.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_g726.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from res_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 [CC] app_db.c -> app_db.o #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 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)])) ^~~~ 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)])) ^~~~ 25 warnings and 6 errors generated. pbx_spool.c:664:2: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'void *' [-Wint-conversion] EV_SET(&kev, dirfd(dir), EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_CLEAR, NOTE_WRITE, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET' (kevp)->udata = (f); \ ^ ~~~ /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] hpInput.c -> hpInput.o 13 warnings generated. [CC] asterisk.c -> asterisk.o [CC] ham84.c -> ham84.o 13 warnings generated. [CC] hpOutput.c -> hpOutput.o 13 warnings generated. 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 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:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_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/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:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ 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:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_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/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:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_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/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:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_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/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:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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/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:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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/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:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_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_pcm.c -> format_pcm.o In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_adpcm.c:38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 codec_adpcm.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_adpcm.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_waitforring.c -> app_waitforring.o [CC] astfd.c -> astfd.o 13 warnings generated. [CC] hp100.c -> hp100.o In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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:13 warningnotes: generated. 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 ^ [LD] pbx_loopback.o -> pbx_loopback.so In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_phoneprov.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_amd.c -> app_amd.o 13 warnings generated. 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] invert.c -> invert.o In file included from format_pcm.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] 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] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46/usr/include/pthread.h::343 :note9: :expanded from macro 'toupper' note : previous definition is here #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))#define pthread_mutex_lock __libc_mutex_lock ^ ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hIn file included from :format_pcm.c:5235:: 47In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h :note28: : In file included from expanded from macro 'AST_INLINE_API'/data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 AST_INLINE_API(hdr, body) inline hdr body: 23 ^~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_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:35In file included from : app_db.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h40:: 28: 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/frame.h::14436: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3023: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::559750:9: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.hwarning:: 994'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 22: warning#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: array subscript is of type 'char' [-Wchar-subscripts] ^ /usr/include/pthread.h:342:9 hash = hash * 33 ^ tolower(*str++);: ^~~~~~~~~~~~~~~note : /usr/include/sys/ctype_inline.hprevious definition is here :59#define pthread_mutex_init __libc_mutex_init: 46 ^: In file included from noteformat_pcm.c: :expanded from macro 'tolower'35 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h ^~~~: 36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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)])) ^~~~ [CC] astmm.c -> astmm.o 14 warnings generated. [LD] pbx_dundi.o dundi-parser.o -> pbx_dundi.so In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from asterisk.c:116: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] src/gsm_explode.c -> src/gsm_explode.o 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)])) ^~~~ [CC] codec_ulaw.c -> codec_ulaw.o [CC] iCBConstruct.c -> iCBConstruct.o [CC] app_forkcdr.c -> app_forkcdr.o 13 warnings generated. [CC] iCBSearch.c -> iCBSearch.o [LD] pbx_ael.o -> pbx_ael.so 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. 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)) ^~~~ [CC] format_wav_gsm.c -> format_wav_gsm.o In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_waitforring.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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] app_read.c -> app_read.o [CC] src/gsm_implode.c -> src/gsm_implode.o 13 warnings generated. [CC] iLBC_decode.c -> iLBC_decode.o [LD] pbx_realtime.o -> pbx_realtime.so In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_amd.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] irc2pc.c -> irc2pc.o 13 warnings generated. [CC] res_timing_pthread.c -> res_timing_pthread.o [CC] src/gsm_create.c -> src/gsm_create.o [LD] pbx_spool.o -> pbx_spool.so 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 In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:app_forkcdr.c23:: 38/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :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#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::370:923: : note: previous definition is here /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556#define pthread_cond_timedwait __libc_cond_timedwait: ^9 : warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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_read.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_read.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_read.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_read.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_read.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here In file included from codec_ulaw.c:34: #define pthread_mutex_destroy __libc_mutex_destroyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.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 32app_read.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h37:: 556:In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: 26warning: : 'pthread_mutex_lock' 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:561:9: warning: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock 'pthread_cond_init' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:343#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init:9: ^note : /usr/include/pthread.hprevious definition is here :366:#define pthread_mutex_lock __libc_mutex_lock9 : ^ noteIn file included from : codec_ulaw.c:34previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_cond_init __libc_cond_init32 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :557:In file included from 9app_read.c: :warning37: : 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock : ^ In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::345:1279: : note: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: #define pthread_mutex_unlock __libc_mutex_unlock ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from codec_ulaw.c::3423: : 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::56231: :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_cond_destroy' macro redefined [-Wmacro-redefined]:558 :9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ ^ /usr/include/pthread.h/usr/include/pthread.h::344:3719:: 9note: :previous definition is here note: previous definition is here#define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_ulaw.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/module.h : ^31 : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:app_read.c32:: 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] 26: In file included from #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h : ^127 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h342::921: : noteIn file included from : previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :23#define pthread_mutex_init __libc_mutex_init: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^ :In file included from 563codec_ulaw.c::34: 9In file included from [CC] res_jabber.c -> res_jabber.o /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31:: In file included from /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_cond_signal' macro redefined [-Wmacro-redefined]:560 :9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ ^ /usr/include/pthread.h/usr/include/pthread.h::346:3679:: note9: previous definition is here: note: #define pthread_mutex_destroy __libc_mutex_destroy ^previous definition is here 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:#define pthread_cond_signal __libc_cond_signal31 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32In file included from : app_read.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::37561: :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_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: #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: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h366::5649:: note9: :previous definition is here warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_init __libc_cond_init ^ In file included from codec_ulaw.c:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast 34 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::36831:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: 32note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here :562:9:#define pthread_cond_broadcast __libc_cond_broadcast warning ^: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] In file included from app_read.c:37: #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: ^26 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h371::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:23: #define pthread_cond_destroy __libc_cond_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^565 :9In file included from : codec_ulaw.c:warning34: : In file included from 'pthread_cond_wait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :31: 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/utils.h : ^32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::563369::99: :note : warning: previous definition is here'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_wait __libc_cond_wait ^ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from app_read.c: ^37 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h367::9:26 : note: In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :127: #define pthread_cond_signal __libc_cond_signalIn file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :In file included from 21codec_ulaw.c:: 34: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::2331: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::56632:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::564 :warning9:: warning'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ ^/usr/include/pthread.h :/usr/include/pthread.h368:370:9:: 9note:: previous definition is herenote : previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^#define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_ulaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_ulaw.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from format_wav_gsm.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from format_wav_gsm.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 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] app_adsiprog.c -> app_adsiprog.o In file included from app_read.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_read.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] iLBC_encode.c -> iLBC_encode.o 13 warnings generated. 13 warnings generated. [CC] src/gsm_print.c -> src/gsm_print.o [CC] ivfilt.c -> ivfilt.o 13 warnings generated. [CC] iLBC_test.c -> iLBC_test.o [CC] astobj2.c -> astobj2.o [CC] codec_ilbc.c -> codec_ilbc.o 13 warnings generated. [CC] format_jpeg.c -> format_jpeg.o src/gsm_create.c:7:19: warning: unused variable 'ident' [-Wunused-const-variable] static char const ident[] = "$Header$"; ^ [CC] src/gsm_option.c -> src/gsm_option.o 1 warning generated. [CC] LPCdecode.c -> LPCdecode.o In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_timing_pthread.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] res_curl.c -> res_curl.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 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 In file included from res_jabber.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h::4630: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h127:: 750In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::21935: :In file included from 10/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :array subscript is of type 'char' [-Wchar-subscripts]556 :9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^In file included from app_adsiprog.cIn file included from :res_jabber.c42:: 46In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h144:: 127In 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/astobj2.h30:: 21In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h750:: 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h994::55722::9 :warning : warningarray subscript is of type 'char' [-Wchar-subscripts]: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] hash = hash * 33 ^ tolower(*str++); #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^~~~~~~~~~~~~~~ ^/usr/include/sys/ctype_inline.h :/usr/include/pthread.h59::34546::9 :note : noteexpanded from macro 'tolower': previous definition is here #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~#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 ^ 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)) ^~~~ 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)])) ^~~~ app_adsiprog.c:1105:28: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion] state->key->retstr[0] = 128; ~ ^~~ app_adsiprog.c:1141:26: warning: implicit conversion from 'int' to 'char' changes value from 130 to -126 [-Wconstant-conversion] state->sub->data[0] = 130; ~ ^~~ app_adsiprog.c:1258:20: warning: implicit conversion from 'int' to 'char' changes value from 129 to -127 [-Wconstant-conversion] disp->data[0] = 129; ~ ^~~ [CC] lpcdec.c -> lpcdec.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: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcodec_ilbc.c::55636:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h :warning35: : 'pthread_mutex_lock' 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:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: previous definition is here ^ #define pthread_mutex_lock __libc_mutex_lock /usr/include/pthread.h ^: 343In file included from :format_jpeg.c9::35 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hprevious definition is here: 28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h#define pthread_mutex_lock __libc_mutex_lock: 36 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23codec_ilbc.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36:: 557In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h9::35 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: 36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^557 :/usr/include/pthread.h9::345 :warning9: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] note: #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockprevious definition is here ^ /usr/include/pthread.h:345#define pthread_mutex_unlock __libc_mutex_unlock: 9 ^: In file included from noteformat_jpeg.c: :previous definition is here35 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28#define pthread_mutex_unlock __libc_mutex_unlock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :36In file included from : codec_ilbc.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h36: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h35:: 558In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h9::36 : warningIn file included from : /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:558:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock9 : ^warning : /usr/include/pthread.h'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: 344:9: note: #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylockprevious definition is here ^ /usr/include/pthread.h:#define pthread_mutex_trylock __libc_mutex_trylock344 : ^9 : In file included from noteformat_jpeg.c: :previous definition is here35 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:#define pthread_mutex_trylock __libc_mutex_trylock28 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :codec_ilbc.c36:: 36: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h::3523: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::55936:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning23: : 'pthread_mutex_init' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :559:9: warning: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init'pthread_mutex_init' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:342:#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init 9 ^: /usr/include/pthread.hnote:: 342previous definition is here: 9:#define pthread_mutex_init __libc_mutex_init note ^ : In file included from previous definition is hereformat_jpeg.c: 35: #define pthread_mutex_init __libc_mutex_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h ^: 28: In file included from In file included from codec_ilbc.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::3636: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36:: 560In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:923: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :warning560: :9'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy/usr/include/pthread.h : ^346 :/usr/include/pthread.h9::346 :note9: :previous definition is here note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^#define pthread_mutex_destroy __libc_mutex_destroy ^In file included from format_jpeg.cIn file included from :codec_ilbc.c35:: 36In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h28:: 35In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h36:: 36In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h23:: 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h561::5619::9 :warning : warning'pthread_cond_init' macro redefined [-Wmacro-redefined]: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^/usr/include/pthread.h :/usr/include/pthread.h366::3669::9 :note : note: previous definition is hereprevious definition is here #define pthread_cond_init __libc_cond_init#define pthread_cond_init __libc_cond_init ^ ^ In file included from In file included from format_jpeg.ccodec_ilbc.c::3536: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h::2835: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::3636: : 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::562562::9:9 warning:: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy/usr/include/pthread.h : ^371 :/usr/include/pthread.h9::371 :note9: :previous definition is here note: previous definition is here#define pthread_cond_destroy __libc_cond_destroy ^ #define pthread_cond_destroy __libc_cond_destroyIn file included from codec_ilbc.c ^: 36: In file included from In file included from format_jpeg.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h::3535: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::2836: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3623: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::56323:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 563warning:: 9'pthread_cond_signal' macro redefined [-Wmacro-redefined]: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 9 ^: /usr/include/pthread.hnote:: 367previous definition is here :9#define pthread_cond_signal __libc_cond_signal: ^note : In file included from previous definition is herecodec_ilbc.c :36#define pthread_cond_signal __libc_cond_signal: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h :In file included from 35format_jpeg.c: :In file included from 35/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :In file included from 36/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :In file included from 28/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/frame.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::36564: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: 564:9:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast warning ^: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :368:9:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast note ^: previous definition is here/usr/include/pthread.h :#define pthread_cond_broadcast __libc_cond_broadcast368 : ^9 : In file included from notecodec_ilbc.c: :previous definition is here36 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h#define pthread_cond_broadcast __libc_cond_broadcast: 35 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hformat_jpeg.c::3635: : 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/mod_format.h::2328: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:In file included from 565/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::9: 36warning: : In file included from 'pthread_cond_wait' 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:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait 565 ^: 9/usr/include/pthread.h:: 369warning:: 9'pthread_cond_wait' macro redefined [-Wmacro-redefined]: note: previous definition is here #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^#define pthread_cond_wait __libc_cond_wait /usr/include/pthread.h ^: 369In file included from :codec_ilbc.c9::36 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.hprevious definition is here: 35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:#define pthread_cond_wait __libc_cond_wait36 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:In file included from 23format_jpeg.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h35:566: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :warning28: : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from #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::9566:: 9note:: previous definition is herewarning : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait __libc_cond_timedwait ^ #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_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 ^ 13 warnings generated. [CC] codec_g726.c -> codec_g726.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 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 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)])) ^~~~ 20 warnings generated. [CC] app_waitforsilence.c -> app_waitforsilence.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)) ^~~~ Makefile:347: recipe for target 'channels' failed gmake: *** [channels] Error 2 13 warnings generated. [CC] res_speech.c -> res_speech.o [CC] lpcenc.c -> lpcenc.o In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_curl.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] format_g723.c -> format_g723.o [CC] src/short_term.c -> src/short_term.o [CC] app_controlplayback.c -> app_controlplayback.o [CC] audiohook.c -> audiohook.o 13 warnings generated. 18 warnings generated. [CC] src/table.c -> src/table.o [CC] format_g719.c -> format_g719.o [CC] LPCencode.c -> LPCencode.o 13 warnings generated. [CC] res_agi.c -> res_agi.o [CC] codec_a_mu.c -> codec_a_mu.o 13 warnings generated. [CC] format_sln.c -> format_sln.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)])) ^~~~ 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 ); \ ~ ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from audiohook.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 ^ 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:370In file included from :app_waitforsilence.c9::50 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hprevious definition is here: 127#define pthread_cond_timedwait __libc_cond_timedwait: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 In file included from #define pthread_cond_destroy __libc_cond_destroyaudiohook.c : ^36 : In file included from In file included from app_waitforsilence.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::50144: : 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::21 [CC] lpcini.c -> lpcini.o : 750In 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/strings.h::23935: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h10:: 563warning:: 9array subscript is of type 'char' [-Wchar-subscripts]: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] *pos = toupper(*pos);#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ~~~~~~~^~~~~~~~~~~~~~ ^/usr/include/sys/ctype_inline.h :/usr/include/pthread.h60::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 : ^52 :47In file included from :app_waitforsilence.c :note50: : expanded from macro 'AST_INLINE_API'In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:# define AST_INLINE_API(hdr, body) inline hdr body127 ^~~~: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 audiohook.capp_waitforsilence.c::3650: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::144127: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::3021: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750In 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/strings.h::99423:: 22/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :warning565: :array subscript is of type 'char' [-Wchar-subscripts]9 : warning hash = hash * 33 ^ tolower(*str++);: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait note ^: expanded from macro 'tolower'/usr/include/pthread.h :369#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])): 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 ^ 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] res_mutestream.c -> res_mutestream.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)])) ^~~~ 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)])) ^~~~ 13 warnings generated. [CC] lpfilt.c -> lpfilt.o [CC] lsf.c -> lsf.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: In file included from warningcodec_a_mu.c: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]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/module.h ^: 31/usr/include/pthread.h: :In file included from 370/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:: 556:previous definition is here9 : warning: #define pthread_cond_timedwait __libc_cond_timedwait'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from 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 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 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_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)])) ^~~~ 13 warnings generated. 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 format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9 [CC] autochan.c -> autochan.o : warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from format_sln.c:33: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 4 warnings generated. [AR] src/add.o src/code.o src/debug.o src/decode.o src/long_term.o src/lpc.o src/preprocess.o src/rpe.o src/gsm_destroy.o src/gsm_decode.o src/gsm_encode.o src/gsm_explode.o src/gsm_implode.o src/gsm_create.o src/gsm_print.o src/gsm_option.o src/short_term.o src/table.o -> lib/libgsm.a 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] In file included from #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlockformat_sln.c : ^34 : In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::34531:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :note750: : previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :935:10:#define pthread_mutex_unlock __libc_mutex_unlock warning ^: array subscript is of type 'char' [-Wchar-subscripts]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: *pos = toupper(*pos);In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ~~~~~~~^~~~~~~~~~~~~~ :21: /usr/include/sys/ctype_inline.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h60::4623:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 558expanded from macro 'toupper': 9:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) warning ^: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h :52:47: #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylocknote: expanded from macro 'AST_INLINE_API' ^ /usr/include/pthread.h# define AST_INLINE_API(hdr, body) inline hdr body : ^~~~ 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: In file included from noteformat_sln.c: :previous definition is here34 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31#define pthread_mutex_init __libc_mutex_init: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :In file included from 750: res_agi.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::46994: :In file included from 22/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127warning: : In file included from array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21 hash = hash * 33 ^ tolower(*str++);: In file included from ^~~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :/usr/include/sys/ctype_inline.h:2359: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h46::560 :note9: :expanded from macro 'tolower' warning: #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] ^~~~ #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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 ^ [CC] format_h264.c -> format_h264.o 13 warnings generated. [CC] packing.c -> packing.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)])) ^~~~ 18 warnings generated. 13 warnings generated. [CC] res_monitor.c -> res_monitor.o [CC] app_url.c -> app_url.o 13 warnings generated. [CC] StateConstructW.c -> StateConstructW.o 13 warnings generated. [CC] autoservice.c -> autoservice.o 13 warnings generated. [CC] median.c -> median.o 13 warnings generated. [CC] bridging.c -> bridging.o In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_mutestream.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] res_musiconhold.c -> res_musiconhold.o [CC] StateSearchW.c -> StateSearchW.o In file included from format_h264.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] 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 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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 345 ^: 9: note: /usr/include/pthread.hprevious definition is here: 343:9#define pthread_mutex_unlock __libc_mutex_unlock: ^note : In file included from previous definition is hereformat_h264.c :35: #define pthread_mutex_lock __libc_mutex_lockIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: ^28 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :res_monitor.c36:: 38In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:23:: 557/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9558:: 9warning:: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]warning : '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 : ^345 :/usr/include/pthread.h9::344 :note9: : previous definition is herenote : previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^#define pthread_mutex_trylock __libc_mutex_trylock In file included from ^res_monitor.c :In file included from 38: format_h264.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::35558: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :warning28: : In file included from 'pthread_mutex_trylock' 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#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^ :/usr/include/pthread.h559::9344:: 9warning:: 'pthread_mutex_init' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init #define pthread_mutex_trylock __libc_mutex_trylock ^ ^/usr/include/pthread.h :In file included from 342res_monitor.c::938:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 559previous definition is here: 9: warning#define pthread_mutex_init __libc_mutex_init : ^'pthread_mutex_init' macro redefined [-Wmacro-redefined] In file included from format_h264.c:35#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h ^: 28/usr/include/pthread.h: :In file included from 342/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::936:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560#define pthread_mutex_init __libc_mutex_init: 9 ^: warningIn file included from : res_monitor.c'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]: 38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy9 : ^ warning/usr/include/pthread.h: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]346 :9: note: previous definition is here#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h#define pthread_mutex_destroy __libc_mutex_destroy: 346 ^: 9In file included from :format_h264.c :note35: : 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 #define pthread_mutex_destroy __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h : ^36 : In file included from In file included from res_monitor.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3823: : /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::561561::99:: warningwarning: : 'pthread_cond_init' macro redefined [-Wmacro-redefined]'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^/usr/include/pthread.h :/usr/include/pthread.h366::3669::9 :note : noteprevious definition is here: previous definition is here #define pthread_cond_init __libc_cond_init ^#define pthread_cond_init __libc_cond_init In file included from ^format_h264.c :35In file included from : res_monitor.cIn file included from :38/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h28:: 562In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h9:36:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined]23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9:#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy warning ^: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :371:9: #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroynote : ^previous definition is here /usr/include/pthread.h:371:#define pthread_cond_destroy __libc_cond_destroy9 : ^ noteIn file included from : res_monitor.cprevious definition is here: 38: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_destroy __libc_cond_destroy563 : ^9 :In file included from format_h264.cwarning:: 35: In file included from 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/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_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 36 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::36723: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:9563:: 9note:: previous definition is herewarning : 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from res_monitor.c ^: 38/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h367::5649::9 note:: previous definition is herewarning : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_signal __libc_cond_signal ^ In file included from format_h264.c#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 35 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h::36828:: 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#define pthread_cond_broadcast __libc_cond_broadcast: 564 ^: 9In file included from :res_monitor.c :warning38: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :565:9:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast warning ^: 'pthread_cond_wait' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :368:9:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait note ^: previous definition is here/usr/include/pthread.h :369:#define pthread_cond_broadcast __libc_cond_broadcast9 : ^ noteIn file included from : format_h264.cprevious definition is here: 35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h#define pthread_cond_wait __libc_cond_wait:28 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.hIn file included from :res_monitor.c36:: 38In 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::23566: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::565 :warning9: :'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait /usr/include/pthread.h ^: 370/usr/include/pthread.h::9369:: 9note:: previous definition is herenote : previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^#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 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 res_monitor.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_monitor.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_url.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] format_sln16.o -> format_sln16.so [CC] app_originate.c -> app_originate.o 13 warnings generated. [CC] mload.c -> mload.o In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from autochan.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/autochan.h:27: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] res_stun_monitor.c -> res_stun_monitor.o In file included from autochan.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from autochan.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] format_g729.o -> format_g729.so In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_musiconhold.c:49: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 ^ 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] [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from 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)])) ^~~~ [CC] onset.c -> onset.o [CC] res_calendar.c -> res_calendar.o In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from autoservice.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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)])) ^~~~ res_musiconhold.c:1378:50: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (!strcasecmp(tmp->name, "digit") && (isdigit(*tmp->value) || strchr("*#", *tmp->value))) ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ [CC] app_authenticate.c -> app_authenticate.o res_musiconhold.c:1717:49: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (!strcasecmp(var->name, "digit") && (isdigit(*var->value) || strchr("*#", *var->value))) ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ In file included from 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)])) ^~~~ 13 warnings generated. [CC] pitsyn.c -> pitsyn.o 13 warnings generated. [CC] res_fax.c -> res_fax.o In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_originate.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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)])) ^~~~ [LD] format_vox.o -> format_vox.so 13 warnings generated. [CC] callerid.c -> callerid.o 13 warnings generated. In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_wav.o -> format_wav.so In file included from res_rtp_asterisk.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ [CC] syntFilter.c -> syntFilter.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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_playtones.c -> app_playtones.o [CC] placea.c -> placea.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 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)])) ^~~~ res_rtp_asterisk.c:1192:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(rtp->lastts - pred) < MAX_TIMESTAMP_SKEW) { ^ res_rtp_asterisk.c:1192:8: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(rtp->lastts - pred) < MAX_TIMESTAMP_SKEW) { ^~~ res_rtp_asterisk.c:1195:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] ast_debug(3, "Difference is %d, ms is %u\n", abs(rtp->lastts - pred), ms); ^ res_rtp_asterisk.c:1195:50: note: remove the call to 'abs' since unsigned values cannot be negative ast_debug(3, "Difference is %d, ms is %u\n", abs(rtp->lastts - pred), ms); ^~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ res_rtp_asterisk.c:1206:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(rtp->lastts - pred) < 7200) { ^ res_rtp_asterisk.c:1206:8: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(rtp->lastts - pred) < 7200) { ^~~ res_rtp_asterisk.c:1210:81: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] ast_debug(3, "Difference is %d, ms is %u (%u), pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, ms * 90, rtp->lastts, pred, frame->samples); ^ res_rtp_asterisk.c:1210:81: note: remove the call to 'abs' since unsigned values cannot be negative ast_debug(3, "Difference is %d, ms is %u (%u), pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, ms * 90, rtp->lastts, pred, frame->samples); ^~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ res_rtp_asterisk.c:1220:8: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(rtp->lastts - pred) < 7200) { ^ res_rtp_asterisk.c:1220:8: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(rtp->lastts - pred) < 7200) { ^~~ res_rtp_asterisk.c:1224:76: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] ast_debug(3, "Difference is %d, ms is %u, pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, rtp->lastts, pred, frame->samples); ^ res_rtp_asterisk.c:1224:76: note: remove the call to 'abs' since unsigned values cannot be negative ast_debug(3, "Difference is %d, ms is %u, pred/ts/samples %u/%d/%d\n", abs(rtp->lastts - pred), ms, rtp->lastts, pred, frame->samples); ^~~ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/logger.h:238:26: note: expanded from macro 'ast_debug' ast_log(AST_LOG_DEBUG, __VA_ARGS__); \ ^ [CC] res_limit.c -> res_limit.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 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_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] format_gsm.o -> format_gsm.so 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)])) ^~~~ 14 warnings generated. [CC] app_setcallerid.c -> app_setcallerid.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 ^ res_calendar.c:1030:24: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] int event_startdiff = abs(start - event->start); ^ res_calendar.c:1030:24: note: use function 'labs' instead int event_startdiff = abs(start - event->start); ^~~ labs res_calendar.c:1031:22: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] int event_enddiff = abs(end - event->end); ^ res_calendar.c:1031:22: note: use function 'labs' instead int event_enddiff = abs(end - event->end); ^~~ labs res_calendar.c:1044:20: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] int startdiff = abs(iter->event->start - start); ^ res_calendar.c:1044:20: note: use function 'labs' instead int startdiff = abs(iter->event->start - start); ^~~ labs res_calendar.c:1053:19: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] int enddiff = abs(iter->event->end - end); ^ res_calendar.c:1053:19: note: use function 'labs' instead int enddiff = abs(iter->event->end - end); ^~~ labs 13 warnings generated. In file included from app_authenticate.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_authenticate.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] ccss.c -> ccss.o [LD] format_ilbc.o -> format_ilbc.so 13 warnings generated. 13 warnings generated. [CC] codec_lpc10.c -> codec_lpc10.o [CC] cdr.c -> cdr.o 15 warnings generated. [CC] codec_gsm.c -> codec_gsm.o [CC] cel.c -> cel.o 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: noteIn file included from : callerid.cprevious definition is here: 40: #define pthread_mutex_lock __libc_mutex_lockIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h ^: 36: In file included from In file included from app_playtones.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::3623: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h::55631:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :warning32: : 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_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_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock /usr/include/pthread.h ^: 343In file included from :app_playtones.c9::36 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hprevious definition is here: 31: In file included from #define pthread_mutex_lock __libc_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ^32 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcallerid.c::55940:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :warning36: : '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: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^557 :/usr/include/pthread.h9::342 :warning9: :'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] note: previous definition is here #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock #define pthread_mutex_init __libc_mutex_init ^ ^/usr/include/pthread.h :In file included from 345app_playtones.c::936:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :previous definition is here31 : In file included from #define pthread_mutex_unlock __libc_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ^32 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcallerid.c::56040:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :warning36: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 558/usr/include/pthread.h::9346:: 9warning:: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]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.hIn file included from :app_playtones.c344::369: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hnote:: 31previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_mutex_trylock __libc_mutex_trylock32 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :In file included from 561callerid.c::940:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :'pthread_cond_init' macro redefined [-Wmacro-redefined]36 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h559::3669::9 :warning : note'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_init __libc_cond_init ^ ^/usr/include/pthread.h :In file included from 342app_playtones.c::936:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :previous definition is here31 : In file included from #define pthread_mutex_init __libc_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ^32 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcallerid.c::56240:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :warning36: : '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#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 560/usr/include/pthread.h::9371:: 9warning:: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy #define pthread_cond_destroy __libc_cond_destroy ^ ^/usr/include/pthread.h :346In file included from :app_playtones.c9::36 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hprevious definition is here: 31: In file included from #define pthread_mutex_destroy __libc_mutex_destroy/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h : ^32 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hcallerid.c::56340:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :warning36: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23#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 ^: 561:/usr/include/pthread.h9::367 :warning9: :'pthread_cond_init' macro redefined [-Wmacro-redefined] note: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initprevious definition is here ^ #define pthread_cond_signal __libc_cond_signal/usr/include/pthread.h : ^366 :In file included from 9app_playtones.c:: 36note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h :31: #define pthread_cond_init __libc_cond_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h ^: 32In file included from : callerid.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::40564: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:: 36warning: : In file included from 'pthread_cond_broadcast' 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#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 562 ^: 9/usr/include/pthread.h:: 368warning:: 9'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: note: previous definition is here #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^#define pthread_cond_broadcast __libc_cond_broadcast /usr/include/pthread.h ^: 371In file included from :app_playtones.c9::36 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hprevious definition is here: 31#define pthread_cond_destroy __libc_cond_destroy: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :In file included from 32callerid.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h40:: 565In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h9::36 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait563 : ^9 :/usr/include/pthread.h :warning369: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]9 : note: previous definition is here#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^#define pthread_cond_wait __libc_cond_wait /usr/include/pthread.h ^: 367In file included from :app_playtones.c9::36 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.hprevious definition is here: 31: #define pthread_cond_signal __libc_cond_signalIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h ^: 32In file included from : callerid.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::40566: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:: 36warning: In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait9 : ^ warning/usr/include/pthread.h: :'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]370 :9#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: ^note : /usr/include/pthread.hprevious definition is here: 368:9:#define pthread_cond_timedwait __libc_cond_timedwait 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 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 callerid.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from callerid.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ callerid.c:237:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(cidstring[i])) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ callerid.c:244:13: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (isdigit(cidstring[0])) { ^~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ callerid.c:250:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(cidstring[i])) ^~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 13 warnings generated. [LD] format_siren14.o -> format_siren14.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_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 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)])) ^ [LD] format_h263.o -> format_h263.so /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ 13 warnings generated. 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)])) ^~~~ [CC] placev.c -> placev.o [CC] res_ael_share.c -> res_ael_share.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)])) ^~~~ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_lpc10.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] codec_speex.c -> codec_speex.o In file included from codec_lpc10.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_lpc10.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] format_siren7.o -> format_siren7.so 14 warnings generated. In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from ccss.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_celgenuserevent.c -> app_celgenuserevent.o In file included from cdr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from cdr.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from cdr.c:44In file included from : ccss.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::33558: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h9:: 935:10warning:: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]warning : array subscript is of type 'char' [-Wchar-subscripts] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: *pos = toupper(*pos); note ~~~~~~~^~~~~~~~~~~~~~: previous definition is here/usr/include/sys/ctype_inline.h :#define pthread_mutex_trylock __libc_mutex_trylock60 : ^46 :In file included from cdr.cnote:: 44expanded from macro 'toupper': /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))9 : ^ warning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 52:47: note: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initexpanded from macro 'AST_INLINE_API' ^ /usr/include/pthread.h# define AST_INLINE_API(hdr, body) inline hdr body: 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.hIn file included from :ccss.c366::339: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :note994: :previous definition is here22: warning: array subscript is of type 'char' [-Wchar-subscripts] #define pthread_cond_init __libc_cond_init ^ hash = hash * 33 ^ tolower(*str++); In file included from ^~~~~~~~~~~~~~~cdr.c :44/usr/include/sys/ctype_inline.h: :59:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:46562:: 9note: : expanded from macro 'tolower'warning : #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))'pthread_cond_destroy' macro redefined [-Wmacro-redefined] ^~~~ #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from 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 ^ 13 warnings generated. 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 ^ [CC] ael/ael_lex.c -> ael/ael_lex.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ ccss.c:703:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!sscanf(value, "%30u", &value_as_uint) == 1) { ^ ~~ ccss.c:703:6: note: add parentheses after the '!' to evaluate the comparison first if (!sscanf(value, "%30u", &value_as_uint) == 1) { ^ ( ) ccss.c:703:6: note: add parentheses around left hand side expression to silence this warning if (!sscanf(value, "%30u", &value_as_uint) == 1) { ^ ( ) In file included from cdr.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from cdr.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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.hcel.c::35294: :In file included from 25/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:: 36warning: : In file included from comparison of constant -1 with expression of type 'enum ast_cel_event_type' is always false [-Wtautological-constant-out-of-range-compare] /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: } else if (event_type == -1) { 23 ~~~~~~~~~~ ^ ~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_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 cel.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::41923:: 11/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 561warning:: 9comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]: warning: if (flag < 0 || flag >= ARRAY_LEN(cel_ama_flags)) {'pthread_cond_init' macro redefined [-Wmacro-redefined] ~~~~ ^ ~ #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_gsm.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] app_queue.c -> app_queue.o In file included from codec_gsm.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from codec_gsm.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:17 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] app_record.c -> app_record.o [LD] format_g726.o -> format_g726.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:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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 ^ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from channel.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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.h19: warning21s: generated. In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_pcm.o -> format_pcm.so [CC] preemp.c -> preemp.o In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_ael_share.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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_wav_gsm.o -> format_wav_gsm.so 13 warnings generated. [LD] codec_alaw.o -> codec_alaw.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 codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from codec_speex.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/translate.h:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 15 warnings generated. 13 warnings generated. [CC] chanvars.c -> chanvars.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 ^~~~ [CC] app_dial.c -> app_dial.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:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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 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:23In file included from : app_celgenuserevent.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::34564: :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_cond_broadcast' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast556 : ^9 :/usr/include/pthread.h :warning368: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]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_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h/usr/include/pthread.h::369343::99:: notenote: : previous definition is hereprevious definition is here #define pthread_cond_wait __libc_cond_wait #define pthread_mutex_lock __libc_mutex_lock ^ ^In file included from app_record.c:In file included from 37app_celgenuserevent.c: :In file included from 34/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :In file included from 26/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h: :In file included from 31/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/utils.h: :In file included from 32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h21:: 557In 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_unlock' macro redefined [-Wmacro-redefined] 566:9:#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock warning ^: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :345:9:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait note ^: previous definition is here/usr/include/pthread.h :370#define pthread_mutex_unlock __libc_mutex_unlock: 9 ^: In file included from noteapp_celgenuserevent.c: :previous definition is here34 : In file included from #define pthread_cond_timedwait __libc_cond_timedwait/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h : ^31 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_celgenuserevent.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] format_jpeg.o -> format_jpeg.so 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 app_record.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_record.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_queue.c:73: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] ael/ael.tab.c -> ael/ael.tab.o In file included from app_queue.c:75: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_queue.c:75: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 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 13 warnings generated. [CC] prepro.c -> prepro.o [CC] app_speech_utils.c -> app_speech_utils.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) { ~~~~~~~~~~~~^~~~~~ ~~ app_queue.c:7460:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*list)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ app_queue.c:7469:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (!isspace(*list) && *list != '\0') { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ app_queue.c:7473:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*list)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ app_queue.c:7486:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (!isspace(*list) && *list != '\0') { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ app_queue.c:7490:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*list)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ [LD] format_g723.o -> format_g723.so 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[] = ^ 13 warnings generated. [CC] cli.c -> cli.o In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note13: warningsprevious definition is here generated. #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from chanvars.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/chanvars.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] random.c -> random.o [CC] app_channelredirect.c -> app_channelredirect.o In file included from chanvars.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from chanvars.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] format_g719.o -> format_g719.so In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_dial.c:44: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] codec_adpcm.o -> codec_adpcm.so 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)])) ^~~~ 13 warnings generated. [CC] rcchk.c -> rcchk.o 13 warnings generated. [LD] codec_ulaw.o -> codec_ulaw.so 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: noteIn file included from : app_speech_utils.cprevious definition is here: 37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define pthread_cond_init __libc_cond_init: 127 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:ael.y21:: 34In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::23562: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::556 :warning9: :'pthread_cond_destroy' macro redefined [-Wmacro-redefined] warning: #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy'pthread_mutex_lock' macro redefined [-Wmacro-redefined] ^ /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:#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock warning ^: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal /usr/include/pthread.h ^: 343/usr/include/pthread.h::9367:: 9note:: previous definition is herenote : previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from #define pthread_cond_signal __libc_cond_signalapp_speech_utils.c : ^37: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hael.y::12734: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::56421:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning23: : 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :557:9: warning#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: 368 ^: 9/usr/include/pthread.h:: 345note:: 9previous definition is here: note: #define pthread_cond_broadcast __libc_cond_broadcastprevious definition is here ^#define pthread_mutex_unlock __libc_mutex_unlock In file included from ^ael.y :In file included from 34app_speech_utils.c:: 37/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 565/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::9127:: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hwarning:: 21'pthread_cond_wait' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^: 558/usr/include/pthread.h::9369:: warning: 9'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: note#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock: previous definition is here ^ /usr/include/pthread.h:344#define pthread_cond_wait __libc_cond_wait: 9 ^: In file included from noteael.y: :previous definition is here34 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_mutex_trylock __libc_mutex_trylock : ^566 :In file included from 9app_speech_utils.c:: 37warning: : In file included from 'pthread_cond_timedwait' 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_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait21 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23370: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::559 :note9: :previous definition is here warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait __libc_cond_timedwait #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_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 ^ [LD] format_sln.o -> format_sln.so In file included from ael.y:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ael.y:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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)])) ^~~~ 14 warnings generated. [CC] synths.c -> synths.o [LD] format_h264.o -> format_h264.so [CC] config.c -> config.o [CC] tbdm.c -> tbdm.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:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from cli.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from cli.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from cli.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 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)])) ^~~~ [CC] data.c -> data.o [LD] codec_ilbc.o ilbc/libilbc.a -> codec_ilbc.so cli.c:2287:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*s)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ cli.c:2400:32: warning: array subscript is of type 'char' [-Wchar-subscripts] for (i = 0; i < max_equal && toupper(prevstr[i]) == toupper(match_list[which][i]); i++) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ cli.c:2400:55: warning: array subscript is of type 'char' [-Wchar-subscripts] for (i = 0; i < max_equal && toupper(prevstr[i]) == toupper(match_list[which][i]); i++) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 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 app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_channelredirect.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] datastore.c -> datastore.o [CC] ael/pval.c -> ael/pval.o 13 warnings generated. [LD] codec_g726.o -> codec_g726.so 13 warnings generated. [CC] voicin.c -> voicin.o [CC] app_ices.c -> app_ices.o In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from config.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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] res_clioriginate.c -> res_clioriginate.o [CC] vparms.c -> vparms.o In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from data.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_chanspy.c -> app_chanspy.o [CC] res_config_curl.c -> res_config_curl.o In file included from ael/pval.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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:9In file included from :datastore.c :warning32: : 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: #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/linkedlists.h/usr/include/pthread.h::37023:: 9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note: 556previous definition is here: 9:#define pthread_cond_timedwait __libc_cond_timedwait warning ^: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from datastore.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/datastore.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from ael/pval.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ael/pval.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 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)) ^~~~ ael/pval.c:3556:22: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp2 && isspace(*strp2)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ ael/pval.c:3560:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp3 && isspace(*strp3)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ ael/pval.c:3610:22: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp2 && isspace(*strp2)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ ael/pval.c:3614:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*strp3 && isspace(*strp3)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 13 warnings generated. [CC] db.c -> db.o 13 warnings generated. [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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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:In file included from app_ices.cnote:: 43previous definition is here: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556#define pthread_cond_destroy __libc_cond_destroy: 9 ^ :In file included from res_clioriginate.cwarning:: 35'pthread_mutex_lock' 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:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 9 ^: note: previous definition is here /usr/include/pthread.h#define pthread_cond_broadcast __libc_cond_broadcast: 343 ^: 9In file included from :res_clioriginate.c :note35: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127#define pthread_mutex_lock __libc_mutex_lock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :In file included from 21app_ices.c: :In file included from 43/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23:: 557/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9565:: 9warning:: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]warning : 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait /usr/include/pthread.h ^: 345/usr/include/pthread.h::9369: :note9: :previous definition is here note: previous definition is here#define pthread_mutex_unlock __libc_mutex_unlock ^ #define pthread_cond_wait __libc_cond_waitIn file included from app_ices.c ^: 43In file included from : res_clioriginate.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::35558: :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_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:#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h566::3449::9 warning:: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]note : previous definition is here #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait #define pthread_mutex_trylock __libc_mutex_trylock ^ /usr/include/pthread.h ^: 370In file included from :app_ices.c9::43 note: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here: 559#define pthread_cond_timedwait __libc_cond_timedwait:9 : ^ warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_ices.c:43: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_ices.c16: warning43s: generated. /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_echo.c -> app_echo.o In file included from 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 app_ices.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_ices.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_chanspy.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ app_chanspy.c:959:12: warning: array subscript is of type 'char' [-Wchar-subscripts] *s = tolower(*s); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] res_clialiases.c -> res_clialiases.o 13 warnings generated. [CC] devicestate.c -> devicestate.o [AR] f2clib.o analys.o bsynz.o chanwr.o dcbias.o decode.o deemp.o difmag.o dyptrk.o encode.o energy.o ham84.o hp100.o invert.o irc2pc.o ivfilt.o lpcdec.o lpcenc.o lpcini.o lpfilt.o median.o mload.o onset.o pitsyn.o placea.o placev.o preemp.o prepro.o random.o rcchk.o synths.o tbdm.o voicin.o vparms.o -> liblpc10.a In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] 16 warnings generated. #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_config_curl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] codec_a_mu.o -> codec_a_mu.so [CC] app_zapateller.c -> app_zapateller.o 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)])) ^~~~ [CC] app_followme.c -> app_followme.o 13 warnings generated. 13 warnings generated. [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.so [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from db.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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] res_security_log.c -> res_security_log.o In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_rtp_multicast.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_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 [CC] dial.c -> dial.o #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 ^ 14 warnings generated. 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)])) ^~~~ [LD] codec_speex.o -> codec_speex.so [CC] dns.c -> dns.o 13 warnings generated. [CC] app_verbose.c -> app_verbose.o 13 warnings generated. [CC] app_playback.c -> app_playback.o In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from res_clialiases.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] app_directory.c -> app_directory.o In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_zapateller.c:36: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] res_timing_kqueue.o -> res_timing_kqueue.so In file included from app_zapateller.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_zapateller.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 here13 warnings#define pthread_mutex_trylock __libc_mutex_trylock generated. ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 ^ [LD] res_smdi.o -> res_smdi.so [CC] app_disa.c -> app_disa.o In file included from app_followme.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_followme.c:45: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:In file included from 994devicestate.c::22125:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :array subscript is of type 'char' [-Wchar-subscripts]144 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h hash = hash * 33 ^ tolower(*str++);: 30 ^~~~~~~~~~~~~~~: In file included from /usr/include/sys/ctype_inline.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::59750:: 46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:: 935note:: 10expanded from macro 'tolower': #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))warning : ^~~~array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from devicestate.c:125: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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++) { ~~~~~~~~~~~~~~~~ ^ ~~~~ 15 warnings generated. [LD] res_convert.o -> res_convert.so 18 warnings generated. 13 warnings generated. [CC] app_mp3.c -> app_mp3.o [CC] dnsmgr.c -> dnsmgr.o 13 warnings generated. 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 [CC] dsp.c -> dsp.o #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 ^ [LD] res_config_ldap.o -> res_config_ldap.so In file included from res_security_log.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_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)])) ^~~~ [CC] app_parkandannounce.c -> app_parkandannounce.o [CC] app_getcpeid.c -> app_getcpeid.o 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] 14#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait warnings generated. ^ /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 ^ [CC] app_readexten.c -> app_readexten.o 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)])) ^~~~ 13 warnings generated. In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: [CC] app_senddtmf.c -> app_senddtmf.o warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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 ^ 26 warnings generated. In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_verbose.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from dns.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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_playback.c: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.h::3526: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::12731: : 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:: 556warning:: 9array subscript is of type 'char' [-Wchar-subscripts] : hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~warning : /usr/include/sys/ctype_inline.h'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: 59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_playback.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] enum.c -> enum.o [LD] res_realtime.o -> res_realtime.so 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)])) ^~~~ 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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_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 ^ 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 app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_disa.c:40: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] event.c -> event.o 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)])) ^~~~ 13 warnings generated. [CC] app_while.c -> app_while.o 13 warnings generated. [CC] app_milliwatt.c -> app_milliwatt.o [LD] res_pktccops.o -> res_pktccops.so In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from dnsmgr.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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_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 ^ [LD] res_adsi.o -> res_adsi.so 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 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 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: In file included from previous definition is heredsp.c :54: #define pthread_cond_broadcast __libc_cond_broadcastIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: 144In file included from : app_parkandannounce.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h41:: 30In file included from : /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/utils.h: :750In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::21935: :In file included from 10/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.harray subscript is of type 'char' [-Wchar-subscripts]: 565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 *pos = toupper(*pos);: In file included from ~~~~~~~^~~~~~~~~~~~~~/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21/usr/include/sys/ctype_inline.h: :In file included from 60/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::4623:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:: 566expanded from macro 'toupper': 9: warning#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait52 : ^47 :/usr/include/pthread.h :note370: :expanded from macro 'AST_INLINE_API'9 : note# define AST_INLINE_API(hdr, body) inline hdr body: 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:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 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] features.c -> features.o In file included from app_parkandannounce.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_parkandannounce.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ dsp.c:341:20: warning: unused function 'goertzel_update' [-Wunused-function] static inline void goertzel_update(goertzel_state_t *s, short *samps, int count) ^ 13 warnings generated. 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_crypto.o -> res_crypto.so 14 warnings generated. 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 ^ [CC] app_exec.c -> app_exec.o In file included from app_getcpeid.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_getcpeid.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] file.c -> file.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:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_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] 13 warnings generated. #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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)])) ^~~~ [LD] res_phoneprov.o -> res_phoneprov.so 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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_senddtmf.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] fixedjitterbuf.c -> fixedjitterbuf.o [CC] app_readfile.c -> app_readfile.o 13 warnings generated. [LD] res_timing_pthread.o -> res_timing_pthread.so 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 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)])) ^~~~ enum.c:216:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:303:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] (unsigned char *)answer, c->apex, sizeof(c->apex) - 1)) < 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ enum.c:345:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:454:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (tolower(flags[0]) != 'u') { ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ enum.c:537:29: warning: array subscript is of type 'char' [-Wchar-subscripts] if ((subst[0] == '\\') && isdigit(subst[1])) { /* is this character the beginning of a backreference */ ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:559:14: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (isprint(*subst)) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ enum.c:816:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:835:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*p2)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ enum.c:946:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(number[pos])) { ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_while.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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:913: warning warnings: generated. 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from 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 ^ [CC] app_stack.c -> app_stack.o 13 warnings generated. 13 warnings generated. [CC] frame.c -> frame.o [CC] framehook.c -> framehook.o In file included from event.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from event.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] res_jabber.o -> res_jabber.so [CC] fskmodem.c -> fskmodem.o event.c:280:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (type < 0 || type >= ARRAY_LEN(event_names)) { ~~~~ ^ ~ event.c:718:17: warning: comparison of constant -1 with expression of type 'enum ast_event_type' is always false [-Wtautological-constant-out-of-range-compare] if (event_type == -1) ~~~~~~~~~~ ^ ~~ event.c:744:11: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (type < 0 || type >= AST_EVENT_TOTAL) { ~~~~ ^ ~ In file included from app_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: [CC] app_confbridge.c -> app_confbridge.o 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 ^ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_milliwatt.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 14 warnings generated. 13 warnings generated. [LD] res_curl.o -> res_curl.so [CC] global_datastores.c -> global_datastores.o In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_readfile.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. In file included from 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)])) ^~~~ 22 warnings generated. [LD] res_speech.o -> res_speech.so [CC] app_userevent.c -> app_userevent.o [CC] hashtab.c -> hashtab.o In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from file.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/mod_format.h:28: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from file.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from file.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [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 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: [CC] http.c -> http.o 564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from fixedjitterbuf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from fixedjitterbuf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_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)])) ^~~~ In file included from fixedjitterbuf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from fixedjitterbuf.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from frame.c:35: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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] 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] In file included from app_confbridge.c:45: *pos = toupper(*pos);In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ~~~~~~~^~~~~~~~~~~~~~: 127/usr/include/sys/ctype_inline.h#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: 60: : ^In file included from 46 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21note: /usr/include/pthread.hIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hexpanded from macro 'toupper':: 23: #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))343 /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: ^9 ::/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h 556::529:note:: 47previous definition is herewarning : #define pthread_mutex_lock __libc_mutex_lock'pthread_mutex_lock' macro redefined [-Wmacro-redefined] : ^ noteIn file included from : app_stack.cexpanded from macro 'AST_INLINE_API': 37: # define AST_INLINE_API(hdr, body) inline hdr bodyIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h ^~~~: 26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127In file included from : framehook.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h34:: 21In file included from : #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockIn 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 ^:: 127: 23In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h/usr/include/pthread.h: frame.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::343:::2137557: :In file included from 9: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h144 :note : :warningprevious definition is here: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: #define pthread_mutex_lock __libc_mutex_lock23 : ^In file included from #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ::30 : In file included from In file included from 556app_confbridge.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:: ^45: : /usr/include/pthread.h9:In file included from 345750/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::: 9: 127/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h: :In file included from :994warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::2221 : note: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : 'pthread_mutex_lock' macro redefined [-Wmacro-redefined]warning :previous definition is here23: : array subscript is of type 'char' [-Wchar-subscripts]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :#define pthread_mutex_unlock __libc_mutex_unlock557: hash = hash * 33 ^ tolower(*str++); ^ 9 ^~~~~~~~~~~~~~~: /usr/include/sys/ctype_inline.hIn file included from :app_stack.c59warning:: 46:'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]37:: #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lockIn file included from #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h note: ^26 ^: : /usr/include/pthread.hexpanded from macro 'tolower': 345:9#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))/usr/include/pthread.h : note ^~~~In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h343: :previous definition is here: 9127 : #define pthread_mutex_unlock __libc_mutex_unlock: ^note : In file included from previous definition is hereapp_confbridge.cIn file included from : 45/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :In file included from 21#define pthread_mutex_lock __libc_mutex_lock: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:In file included from 127 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :In file included from 2123framehook.c: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23:: 34/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :In file included from 558::5589:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:9 ::127 warningwarning: : : 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]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/astobj2.h ^: 21/usr/include/pthread.h#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock:: 344 In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ^9::23 /usr/include/pthread.hnote: : :previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :344:#define pthread_mutex_trylock __libc_mutex_trylock557 : ^99 :In file included from :app_confbridge.c notewarning: : :previous definition is here45 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]: In file included from #define pthread_mutex_trylock __libc_mutex_trylock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ^In file included from :app_stack.c 21/usr/include/pthread.h: :In file included from 345/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:::93723:: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h559 :note26:: 9In file included from : :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h previous definition is here:warning127: : 'pthread_mutex_init' macro redefined [-Wmacro-redefined]In file included from #define pthread_mutex_unlock __libc_mutex_unlock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h : ^#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init21 ^ : In file included from framehook.c/usr/include/pthread.h:342In file included from :9:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:34 :note: 23: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hprevious definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: 559::#define pthread_mutex_init __libc_mutex_init127 9: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:: 21In file included from app_confbridge.c:45: : In file included from In file included from warning/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 'pthread_mutex_init' 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/lock.h#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h : ^23 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:::560558:9::342 :9warning9: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] :warning : note'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroyprevious definition is here ^ /usr/include/pthread.h:#define pthread_mutex_init __libc_mutex_init#define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock346 : 9 ^: ^ In file included from /usr/include/pthread.happ_stack.c::note344: :previous definition is here9 37:#define pthread_mutex_destroy __libc_mutex_destroy: In file included from note ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h previous definition is hereIn file included from :app_confbridge.c26:: #define pthread_mutex_trylock __libc_mutex_trylockIn file included from 45/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/channel.h: ^127 127In file included from : framehook.cIn file included from :: 34In 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.h21: : 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.h21:23127: : : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::56121:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h9:: 23In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :warning: : 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_init' macro redefined [-Wmacro-redefined] : :/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 560 ^: :559/usr/include/pthread.h::9366:9: 9warning:: notewarning: : previous definition is here'pthread_mutex_init' macro redefined [-Wmacro-redefined] : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]#define pthread_cond_init __libc_cond_init ^ #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initIn file included from #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^app_confbridge.c :45/usr/include/pthread.h: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: 127: :In file included from 342/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h ^::921 :: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote::346: 23: previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9 562::9:#define pthread_mutex_init __libc_mutex_init ^warning: note'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: previous definition is here In file included from #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroyframehook.c ^#define pthread_mutex_destroy __libc_mutex_destroy /usr/include/pthread.h: ^371:: 9: 34In file included from note: : previous definition is here In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define pthread_cond_destroy __libc_cond_destroy : ^app_stack.c :In file included from 37app_confbridge.c127:: : 45In file included from In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:: 127:: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h26/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 :23127: /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: :In file included from :23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: 560:/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9563::21 : 9:In file included from warningwarning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]23 #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: #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/usr/include/pthread.h::561367 : ^9 ::9 note:: /usr/include/pthread.hwarning:previous definition is here : 346'pthread_cond_init' macro redefined [-Wmacro-redefined]: 9#define pthread_cond_signal __libc_cond_signal ^#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init In file included from ^app_confbridge.c :/usr/include/pthread.h45:: :In file included from 366/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hnote:: 127previous definition is here: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_mutex_destroy __libc_mutex_destroy : 21 ^: note : In file included from In file included from previous definition is hereframehook.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::2334: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 564In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h9:#define pthread_cond_init __libc_cond_init127:: warning: ^In file included from 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] /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_broadcastIn file included from 21 app_stack.c: ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23368: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:379::: note561: :previous definition is hereIn file included from 9 :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h#define pthread_cond_broadcast __libc_cond_broadcast: 26 ^: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from : app_confbridge.c'pthread_cond_init' macro redefined [-Wmacro-redefined]: :12745: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ^: : In file included from 127/usr/include/pthread.h: /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.h21::21: : 366In 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.h9::23:: 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: : 565:note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: 9:previous definition is here:562 :warning9: : 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_init __libc_cond_init#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait warning ^ ^: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :369In file included from #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroyframehook.c::9:34 : noteIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hprevious definition is here ^ : #define pthread_cond_wait __libc_cond_wait ^127 /usr/include/pthread.hIn file included from : :app_confbridge.c371In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h45:: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h21::127: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hnote:: 21previous definition is hereIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::23#define pthread_cond_destroy __libc_cond_destroy23 : : /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 566::In file included from 5629:: app_stack.cwarning:937:: : In file included from 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h warning:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait 26 ^: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]/usr/include/pthread.h :In file included from 370/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy9 127: : noteIn file included from ^: previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :/usr/include/pthread.h21:: #define pthread_cond_timedwait __libc_cond_timedwait371 In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h ::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note: 563previous definition is here: 9:#define pthread_cond_destroy __libc_cond_destroy warning ^: 'pthread_cond_signal' macro redefined [-Wmacro-redefined]In file included from framehook.c:34#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :/usr/include/pthread.h127:: 367In 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: #define pthread_cond_signal __libc_cond_signal/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h : ^563 :9In file included from : app_stack.cwarning:: 37'pthread_cond_signal' macro redefined [-Wmacro-redefined]: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 26 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h::367127:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :note21: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:#define pthread_cond_signal __libc_cond_signal23 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :564In file included from :framehook.c9::34 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: 127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast21 : ^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.h::368564::99: :warning : note'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast#define pthread_cond_broadcast __libc_cond_broadcast ^ ^ /usr/include/pthread.h:In file included from 368app_stack.c::937:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h: :previous definition is here26 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h#define pthread_cond_broadcast __libc_cond_broadcast: 127 ^: In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hframehook.c::3421: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::12723: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h::56521: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_cond_wait' macro redefined [-Wmacro-redefined]: 565:9: warning#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait369 : ^9 :/usr/include/pthread.h :note369: :9previous definition is here: note: #define pthread_cond_wait __libc_cond_waitprevious definition is here ^ #define pthread_cond_wait __libc_cond_wait In file included from ^app_stack.c :37In file included from : framehook.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h34:: 26In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.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: :In file included from 21/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :In file included from 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h23:: 566/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9566::9 :warning : warning'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ ^ /usr/include/pthread.h/usr/include/pthread.h::370370::99:: notenote: : previous definition is hereprevious definition is here #define pthread_cond_timedwait __libc_cond_timedwait#define pthread_cond_timedwait __libc_cond_timedwait ^ ^ In file included from 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)])) ^~~~ 16 warnings generated. [LD] res_agi.o -> res_agi.so 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 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)])) ^~~~ 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_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 ^ 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)])) ^~~~ 13 warnings generated. 13 warnings generated. [CC] image.c -> image.o [LD] res_mutestream.o -> res_mutestream.so [CC] app_chanisavail.c -> app_chanisavail.o 14 warnings generated. [CC] indications.c -> indications.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 ^ [CC] io.c -> io.o 13 warnings generated. 13 warnings generated. In file included from hashtab.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from hashtab.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] res_monitor.o -> res_monitor.so [LD] res_musiconhold.o -> res_musiconhold.so [CC] jitterbuf.c -> jitterbuf.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:139 warning:s generated. warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_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 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 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)])) ^~~~ [LD] res_stun_monitor.o -> res_stun_monitor.so In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from In file included from heap.capp_userevent.c::3532: : 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/pbx.h:26: In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h32:: 144/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/config.h::930:: In 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.h'pthread_cond_init' macro redefined [-Wmacro-redefined]: 935:10: warning: #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initarray subscript is of type 'char' [-Wchar-subscripts] ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ ^ /usr/include/sys/ctype_inline.h:In file included from 60heap.c::4635:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :expanded from macro 'toupper'32 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)]))562 : ^ 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:: 52:warning47: : 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]note : expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_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:35In file included from : app_userevent.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h32:: 32In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::26563: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 144warning: : In file included from 'pthread_cond_signal' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h :30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal: 750: ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :/usr/include/pthread.h994::36722::9 :warning : notearray subscript is of type 'char' [-Wchar-subscripts]: previous definition is here hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:#define pthread_cond_signal __libc_cond_signal46 : ^ note: expanded from macro 'tolower' In file included from #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)]))heap.c ^~~~: 35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from heap.c:35: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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)])) ^~~~ [CC] loader.c -> loader.o 13 warnings generated. [LD] res_rtp_asterisk.o -> res_rtp_asterisk.so [CC] app_transfer.c -> app_transfer.o 13 warnings generated. 13 warnings generated. [LD] res_calendar.o -> res_calendar.so [CC] app_dumpchan.c -> app_dumpchan.o [CC] lock.c -> lock.o 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. 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:139 warning:s generated. note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] res_fax.o -> res_fax.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:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from image.c:40: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_test.c -> app_test.o In file included from indications.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/indications.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from indications.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/indications.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 ^ [CC] app_nbscat.c -> app_nbscat.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_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)])) ^~~~ indications.c:922:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(ring[0]) || (val = atoi(ring)) == -1) { ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 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 io.c:In file included from 38app_chanisavail.c: :In file included from 40/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:556: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h9:: 935warning:: 10'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock/usr/include/sys/ctype_inline.h : ^60 :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 ^ #define pthread_mutex_lock __libc_mutex_lock/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h : ^52 :In file included from app_chanisavail.c:4740:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hnote:557:9:: expanded from macro 'AST_INLINE_API'warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] # define AST_INLINE_API(hdr, body) inline hdr body#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ ^~~~ /usr/include/pthread.h: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 In file included from io.c#define pthread_mutex_init __libc_mutex_init : ^38 : In file included from app_chanisavail.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h40:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h750:: 560/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:9:: 994warning:: 22'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] : warning: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroyarray subscript is of type 'char' [-Wchar-subscripts] ^ /usr/include/pthread.h:346:9: hash = hash * 33 ^ tolower(*str++); note ^~~~~~~~~~~~~~~: previous definition is here /usr/include/sys/ctype_inline.h:59#define pthread_mutex_destroy __libc_mutex_destroy : ^46 :In file included from app_chanisavail.cnote:40: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:expanded from macro 'tolower'561: 9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~#define pthread_cond_init use_ast_cond_init_instead_of_pthread_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)])) ^~~~ 13 warnings generated. [CC] logger.c -> logger.o [LD] res_limit.o -> res_limit.so 13 warnings generated. [CC] app_sendtext.c -> app_sendtext.o 13 warnings generated. In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] res_ael_share.o ael/ael_lex.o ael/ael.tab.o ael/pval.o -> res_ael_share.so [CC] manager.c -> manager.o In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from jitterbuf.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ jitterbuf.c:142:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(*delay - jb->info.last_delay) > threshold) { ^ jitterbuf.c:142:7: note: use function 'labs' instead if (abs(*delay - jb->info.last_delay) > threshold) { ^~~ labs 13 warnings generated. [CC] app_image.c -> app_image.o 13 warnings generated. [LD] res_clioriginate.o -> res_clioriginate.so In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from loader.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from loader.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from loader.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/module.h:31: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] app_softhangup.c -> app_softhangup.o 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.cIn file included from :app_dumpchan.c38:: 39In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h26:: 26In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h127:: 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.h21:: 21In file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h23:: 23/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h563::5569::9: warningwarning: : 'pthread_cond_signal' macro redefined [-Wmacro-redefined]'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from 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_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock#define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ ^ /usr/include/pthread.h: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/usr/include/pthread.h::26343: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:: 127note: : In file included from previous definition is here/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h :21: #define pthread_mutex_lock __libc_mutex_lock In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :In file included from 23app_dumpchan.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h39:: 566In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h9::26 : warningIn file included from : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]127 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: 21 ^: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h/usr/include/pthread.h::23370: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::557 :note9: :previous definition is here warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined]#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 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 ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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.hIn file included from :app_dumpchan.c750:: 39/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/pbx.h::2226:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h: :array subscript is of type 'char' [-Wchar-subscripts]144 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h: hash = hash * 33 ^ tolower(*str++);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::75059: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h46::935 :note10: :expanded from macro 'tolower' warning: array subscript is of type 'char' [-Wchar-subscripts] #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_dumpchan.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_test.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 16 warnings generated. [LD] res_config_curl.o -> res_config_curl.so [CC] app_minivm.c -> app_minivm.o In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from lock.c:32: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 14 warnings generated. [LD] res_rtp_multicast.o -> res_rtp_multicast.so [CC] md5.c -> md5.o 13 warnings generated. In file included from app_nbscat.c:41: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ 13/usr/include/pthread.h warning:s343 generated. :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 ^ [CC] netsock.c -> netsock.o 13 warnings generated. [CC] app_voicemail.c -> app_voicemail.o [LD] res_clialiases.o -> res_clialiases.so 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 ^ In file included from /usr/include/pthread.happ_sendtext.c::36739:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h :note: 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_signal __libc_cond_signal: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: 23In file included from : logger.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::43556:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 564warning:: 9'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /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#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock: ^note : previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from logger.c:/usr/include/pthread.h43:: 343/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::9:566 :note9: :previous definition is here warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock __libc_mutex_lock ^ In file included from #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitapp_sendtext.c : ^39 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127370: :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:#define pthread_cond_timedwait __libc_cond_timedwait557 : ^9 : warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_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_nbscat.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_nbscat.c:43: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 app_sendtext.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_sendtext.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] netsock2.c -> netsock2.o In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from manager.c:61: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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. [CC] app_morsecode.c -> app_morsecode.o [CC] pbx.c -> pbx.o In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:2113: warningIn file included from s/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h generated. :23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] app_festival.c -> app_festival.o [LD] res_security_log.o -> res_security_log.so manager.c:1625:10: warning: address of array 'user->username' will always evaluate to 'true' [-Wpointer-bool-conversion] (user->username ? user->username : "(N/A)"), ~~~~~~^~~~~~~~ ~ In file included from app_image.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:1347: warning snote generated. : 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)])) ^~~~ [CC] app_system.c -> app_system.o 13 warnings generated. manager.c:5709:23: warning: [CC] plc.c -> plc.o 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)])) ^~~~ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [CC] app_mixmonitor.c -> app_mixmonitor.o In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_softhangup.c:37: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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 ^ 13 warnings generated. In file included from app_minivm.c:164: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_minivm.c:164: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] poll.c -> poll.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)) ^~~~ [CC] app_privacy.c -> app_privacy.o app_minivm.c:1822:18: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] if (etemplate->locale) { ~~ ~~~~~~~~~~~^~~~~~ app_minivm.c:1834:17: warning: address of array 'etemplate->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] if (etemplate->locale) { ~~ ~~~~~~~~~~~^~~~~~ app_minivm.c:2977:10: warning: address of array 'this->charset' will always evaluate to 'true' [-Wpointer-bool-conversion] this->charset ? this->charset : "-", ~~~~~~^~~~~~~ ~ app_minivm.c:2978:10: warning: address of array 'this->locale' will always evaluate to 'true' [-Wpointer-bool-conversion] this->locale ? this->locale : "-", ~~~~~~^~~~~~ ~ app_minivm.c:2980:10: warning: address of array 'this->subject' will always evaluate to 'true' [-Wpointer-bool-conversion] this->subject ? this->subject : "-"); ~~~~~~^~~~~~~ ~ app_minivm.c:3048:49: warning: address of array 'vmu->etemplate' will always evaluate to 'true' [-Wpointer-bool-conversion] ast_cli(a->fd, HMSU_OUTPUT_FORMAT, tmp, vmu->etemplate ? vmu->etemplate : "-", ~~~~~^~~~~~~~~ ~ app_minivm.c:3049:10: warning: address of array 'vmu->ptemplate' will always evaluate to 'true' [-Wpointer-bool-conversion] vmu->ptemplate ? vmu->ptemplate : "-", ~~~~~^~~~~~~~~ ~ app_minivm.c:3050:10: warning: address of array 'vmu->zonetag' will always evaluate to 'true' [-Wpointer-bool-conversion] vmu->zonetag ? vmu->zonetag : "-", ~~~~~^~~~~~~ ~ app_minivm.c:3051:10: warning: address of array 'vmu->attachfmt' will always evaluate to 'true' [-Wpointer-bool-conversion] vmu->attachfmt ? vmu->attachfmt : "-", ~~~~~^~~~~~~~~ ~ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. 13 warnings generated. In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from netsock2.c:34: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_waituntil.o -> app_waituntil.so [LD] app_sms.o -> app_sms.so In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_voicemail.c:107: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_voicemail.c:109: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_voicemail.c:109: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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 pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from pbx.c:46: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from In file included from netsock.cpbx.c::4746: : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h::566750:: 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:: 935warning:: 10'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]: warning: #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwaitarray subscript is of type 'char' [-Wchar-subscripts] ^ /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 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 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: In file included from array subscript is of type 'char' [-Wchar-subscripts]app_morsecode.c :36: *pos = toupper(*pos);In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h ~~~~~~~^~~~~~~~~~~~~~: 127: /usr/include/sys/ctype_inline.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h60::2146: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.hnote:: 23: expanded from macro 'toupper'/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 ^~~~ 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 #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/config.h : ^30 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:/usr/include/pthread.h750:: 343/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h::9994:: 22note:: previous definition is herewarning : array subscript is of type 'char' [-Wchar-subscripts] #define pthread_mutex_lock __libc_mutex_lock ^ hash = hash * 33 ^ tolower(*str++);In file included from app_morsecode.c: ^~~~~~~~~~~~~~~36 : /usr/include/sys/ctype_inline.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h59::12746: :In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.hnote:: 21expanded 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 :557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_morsecode.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ app_voicemail.c:8221:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8221:26: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8221:26: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8235:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->oldmessages == 1)){ ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8235:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->oldmessages == 1)){ ~ ^ ~ app_voicemail.c:8235:25: note: use '=' to turn this equality comparison into an assignment if ((vms->oldmessages == 1)){ ^~ = app_voicemail.c:8427:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->urgentmessages == 1)) ~~~~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8427:30: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->urgentmessages == 1)) ~ ^ ~ app_voicemail.c:8427:30: note: use '=' to turn this equality comparison into an assignment if ((vms->urgentmessages == 1)) ^~ = app_voicemail.c:8440:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8440:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8440:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8592:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8592:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8592:25: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8636:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8636:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8636:25: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8671:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8671:26: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8671:26: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8680:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8680:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8680:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8727:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8727:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8727:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8778:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8778:25: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8778:25: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8824:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8824:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8824:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8871:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8871:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8871:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8914:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) { ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8914:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) { ~ ^ ~ app_voicemail.c:8914:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) { ^~ = app_voicemail.c:8980:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8980:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8980:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:8990:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->newmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:8990:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->newmessages == 1)) ~ ^ ~ app_voicemail.c:8990:27: note: use '=' to turn this equality comparison into an assignment if ((vms->newmessages == 1)) ^~ = app_voicemail.c:9001:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->oldmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:9001:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->oldmessages == 1)) ~ ^ ~ app_voicemail.c:9001:27: note: use '=' to turn this equality comparison into an assignment if ((vms->oldmessages == 1)) ^~ = app_voicemail.c:9009:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vms->oldmessages == 1)) ~~~~~~~~~~~~~~~~~^~~~ app_voicemail.c:9009:27: note: remove extraneous parentheses around the comparison to silence this warning if ((vms->oldmessages == 1)) ~ ^ ~ app_voicemail.c:9009:27: note: use '=' to turn this equality comparison into an assignment if ((vms->oldmessages == 1)) ^~ = app_voicemail.c:10024:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(opts[OPT_ARG_PLAYFOLDER][0])) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ [CC] privacy.c -> privacy.o 13 warnings generated. 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:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from poll.c:83: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from app_festival.c:48: pbx.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h8211::12723: : In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h: :array subscript is of type 'char' [-Wchar-subscripts]21 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h while (*endpart && !isdigit(*endpart)) {: 23 ^~~~~~~~~~~~~~~~~: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/sys/ctype_inline.h::55651::449:: notewarning: : expanded from macro 'isdigit''pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_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: [CC] rtp_engine.c -> rtp_engine.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:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_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 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_alarmreceiver.o -> app_alarmreceiver.so [LD] app_externalivr.o -> app_externalivr.so [CC] say.c -> say.o In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_festival.c:48: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [LD] app_dictate.o -> app_dictate.so In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from app_system.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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)])) ^~~~ 13 warnings generated. [CC] sched.c -> sched.o 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_privacy.c :36In file included from app_mixmonitor.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h46:: 556In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h9::31 : warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :'pthread_mutex_lock' macro redefined [-Wmacro-redefined]559 :9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_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:#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock warning ^: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: /usr/include/pthread.hprevious definition is here: 343:9:#define pthread_cond_init __libc_cond_init note ^: previous definition is here In file included from app_mixmonitor.c:#define pthread_mutex_lock __libc_mutex_lock46 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.hIn file included from :app_privacy.c31:: 36/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.h562::5579::9 :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 ^#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock /usr/include/pthread.h ^: 371/usr/include/pthread.h::9345:: 9note: :previous definition is here note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ #define pthread_mutex_unlock __libc_mutex_unlockIn file included from app_mixmonitor.c ^: 46In file included from : app_privacy.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h36:: 31/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.h558::5639::9 :warning : warning'pthread_mutex_trylock' macro redefined [-Wmacro-redefined]: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ ^/usr/include/pthread.h :/usr/include/pthread.h344::3679::9 :note : noteprevious definition is here: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock #define pthread_cond_signal __libc_cond_signal ^ ^In file included from app_privacy.cIn file included from :app_mixmonitor.c36:: 46/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:: 559In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h9::31 : warning: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_mutex_init' macro redefined [-Wmacro-redefined]: 564:9: warning#define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:342:9:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast note ^: previous definition is here/usr/include/pthread.h :368:#define pthread_mutex_init __libc_mutex_init9 : ^ noteIn file included from : app_privacy.cprevious definition is here: 36: /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_mixmonitor.c:46: 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/audiohook.h : ^31 : /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h::346565::99:: 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 app_privacy.c/usr/include/pthread.h::36369: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h9::561 :note9: :previous definition is here warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined]#define pthread_cond_wait __libc_cond_wait ^ In file included from #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_initapp_mixmonitor.c : ^46 : /usr/include/pthread.hIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/audiohook.h366::319: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :note: 566previous definition is here: 9: warning: #define pthread_cond_init __libc_cond_init 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] ^ In file included from app_privacy.c:#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait36 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h :/usr/include/pthread.h562::3709::9 :warning : note'pthread_cond_destroy' macro redefined [-Wmacro-redefined]: previous definition is here #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy #define pthread_cond_timedwait __libc_cond_timedwait ^ ^/usr/include/pthread.h :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 ^ [CC] security_events.c -> security_events.o In file included from app_privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from app_mixmonitor.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from app_mixmonitor.c:47: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/pbx.h:26: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] sha1.c -> sha1.o 13 warnings generated. [CC] slinfactory.c -> slinfactory.o [CC] srv.c -> srv.o [LD] app_macro.o -> app_macro.so In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: 13/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h warning:s556 generated. :9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note [CC] ssl.c -> ssl.o : previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from rtp_engine.c:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 ^~~~ [CC] stdtime/localtime.c -> stdtime/localtime.o In file included from privacy.c:38: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ In file included from 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)])) ^~~~ 13 warnings generated. In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [LD] app_cdr.o -> app_cdr.so [CC] strcompat.c -> strcompat.o In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from sched.c:46: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] strings.c -> strings.o In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from say.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:127: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/astobj2.h:21: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 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 ^security_events.c :In file included from 35slinfactory.c: :In file included from 35/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :In file included from 32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36:556: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:: 23warning: : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h'pthread_mutex_lock' macro redefined [-Wmacro-redefined]: 558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_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 ^#define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock /usr/include/pthread.h ^: 342:9: note: previous definition is here /usr/include/pthread.h:#define pthread_mutex_init __libc_mutex_init343 : ^9 :In file included from slinfactory.cnote:: 35previous definition is here: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36#define pthread_mutex_lock __libc_mutex_lock: In file included from ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h :In file included from 23security_events.c: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:35560: :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_destroy' macro redefined [-Wmacro-redefined]:557 :9: warning: #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] ^ /usr/include/pthread.h:346#define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock: 9 ^: /usr/include/pthread.hnote:: 345previous definition is here: 9: note#define pthread_mutex_destroy __libc_mutex_destroy: previous definition is here ^ In file included from #define pthread_mutex_unlock __libc_mutex_unlockslinfactory.c : ^35 : In file included from In file included from security_events.c/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::3536: : In file included from In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h::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::561558::99:: warningwarning: : 'pthread_cond_init' macro redefined [-Wmacro-redefined]'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ ^ /usr/include/pthread.h/usr/include/pthread.h::344366::99:: notenote: : previous definition is here previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock #define pthread_cond_init __libc_cond_init ^ ^In file included from security_events.cIn file included from :slinfactory.c35:: In file included from 35/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h: :In file included from 32/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h36:: 559In 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_init' macro redefined [-Wmacro-redefined]562 :9: #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_initwarning : ^'pthread_cond_destroy' macro redefined [-Wmacro-redefined] /usr/include/pthread.h:342:9#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: ^note : /usr/include/pthread.hprevious definition is here: 371:9#define pthread_mutex_init __libc_mutex_init: ^note : In file included from previous definition is heresecurity_events.c: 35: 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: 32 ^ : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hslinfactory.c::56035:: 9In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h :warning36: : 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy563 : ^9 :/usr/include/pthread.h :warning346: :'pthread_cond_signal' macro redefined [-Wmacro-redefined]9 : note: previous definition is here #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h#define pthread_mutex_destroy __libc_mutex_destroy: 367 ^: 9In file included from :security_events.c :note35: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_signal __libc_cond_signal: 561 ^: 9In file included from :slinfactory.c :warning35: : 'pthread_cond_init' 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_init use_ast_cond_init_instead_of_pthread_cond_init: 23 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h/usr/include/pthread.h::564366::99:: notewarning: : previous definition is here'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_init __libc_cond_init ^#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast In file included from ^security_events.c :/usr/include/pthread.h35:: 368In file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h9::32 : note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h: :562previous definition is here: 9:#define pthread_cond_broadcast __libc_cond_broadcast warning ^: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined]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#define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy: 36 ^: In file included from /usr/include/pthread.h/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:371::239: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h note:: 565previous definition is here: 9: #define pthread_cond_destroy __libc_cond_destroywarning : ^'pthread_cond_wait' macro redefined [-Wmacro-redefined] In file included from security_events.c:35: #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_waitIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h ^: 32/usr/include/pthread.h: :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h369::5639::9 :note : warningprevious definition is here: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_wait __libc_cond_wait ^ #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signalIn file included from slinfactory.c ^: 35/usr/include/pthread.h: :In file included from 367/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h::936:: In file included from note/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h: :previous definition is here23 : /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h#define pthread_cond_signal __libc_cond_signal: 566 ^: 9In file included from :security_events.c :warning35: : In file included from 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined]/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h :32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9#define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait: ^warning : /usr/include/pthread.h'pthread_cond_broadcast' macro redefined [-Wmacro-redefined]: 370:9#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast: ^note : /usr/include/pthread.hprevious definition is here: 368:9:#define pthread_cond_timedwait __libc_cond_timedwait 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 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 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)])) ^~~~ [CC] stun.c -> stun.o security_events.c:379:17: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (event_type < 0 || event_type >= AST_SECURITY_EVENT_NUM_TYPES) { ~~~~~~~~~~ ^ ~ security_events.c:629:22: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (sec->event_type < 0 || sec->event_type >= AST_SECURITY_EVENT_NUM_TYPES) { ~~~~~~~~~~~~~~~ ^ ~ In file included from 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 ^ 13 warnings generated. In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from srv.c:49: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h:144: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_talkdetect.o -> app_talkdetect.so [CC] syslog.c -> syslog.o 11 warnings generated. 15 warnings generated. [LD] app_directed_pickup.o -> app_directed_pickup.so In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] [LD] app_db.o -> app_db.so #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from stdtime/localtime.c:75: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 ^ 23 warnings generated. In file included from stdtime/localtime.c:77: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from stdtime/localtime.c:77: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 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)])) ^~~~ stdtime/localtime.c:394:6: warning: incompatible integer to pointer conversion assigning to 'struct state *' from '__intptr_t' (aka 'long') [-Wint-conversion] sp = kev.udata; ^ ~~~~~~~~~ stdtime/localtime.c:412:3: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'void *' [-Wint-conversion] EV_SET(&kev, sp->fd, EVFILT_VNODE, EV_DELETE, 0, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET' (kevp)->udata = (f); \ ^ ~~~ stdtime/localtime.c:426:4: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'void *' [-Wint-conversion] EV_SET(&kev, dirfd(sp->dir), EVFILT_VNODE, EV_DELETE, 0, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET' (kevp)->udata = (f); \ ^ ~~~ [CC] taskprocessor.c -> taskprocessor.o stdtime/localtime.c:503:3: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'struct state *' [-Wint-conversion] EV_SET(&kev, dirfd(sp->dir), EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET' (kevp)->udata = (f); \ ^ ~~~ stdtime/localtime.c:524:2: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'struct state *' [-Wint-conversion] EV_SET(&kev, sp->fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_WRITE | NOTE_EXTEND | NOTE_DELETE | NOTE_REVOKE | NOTE_ATTRIB, 0, sp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET' (kevp)->udata = (f); \ ^ ~~~ [CC] tcptls.c -> tcptls.o stdtime/localtime.c:2194:29: warning: unused function 'find_by_locale' [-Wunused-function] static struct locale_entry *find_by_locale(locale_t locale) ^ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: 13 warningprevious definition is heres generated. #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 ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from ssl.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_waitforring.o -> app_waitforring.so [CC] tdd.c -> tdd.o 13 warnings generated. In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from stun.c:39: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/cli.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from strings.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from 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 ^~~~ [CC] term.c -> term.o 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)])) ^~~~ [LD] app_amd.o -> app_amd.so In file included from strings.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from strings.c:42: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [LD] app_forkcdr.o -> app_forkcdr.so [CC] test.c -> test.o [CC] threadstorage.c -> threadstorage.o In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from syslog.c:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. 13 warnings generated. 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 ^ [LD] app_read.o -> app_read.so 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)])) ^~~~ [LD] app_adsiprog.o -> app_adsiprog.so tdd.c:316:7: warning: array subscript is of type 'char' [-Wchar-subscripts] c = toupper(str[x]); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 13 warnings generated. [CC] timing.c -> timing.o 13 warnings generated. [LD] app_waitforsilence.o -> app_waitforsilence.so [LD] app_controlplayback.o -> app_controlplayback.so In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ [CC] translate.c -> translate.o In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from tcptls.c:44: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/tcptls.h:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] udptl.c -> udptl.o 19 warnings generated. [LD] app_url.o -> app_url.so 13 warnings generated. [LD] app_originate.o -> app_originate.so [CC] ulaw.c -> ulaw.o 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 ^ [LD] app_authenticate.o -> app_authenticate.so In file included from term.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from term.c:42: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_playtones.o -> app_playtones.so [CC] utils.c -> utils.o [LD] app_setcallerid.o -> app_setcallerid.so [CC] version.c -> version.o In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from timing.c:39: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ 13 warnings generated. [LD] app_celgenuserevent.o -> app_celgenuserevent.so [CC] xml.c -> xml.o 13 warnings generated. In file included from timing.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from timing.c:41: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [LD] app_queue.o -> app_queue.so [LD] app_record.o -> app_record.so In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from udptl.c:63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:30: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/frame.h:36: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/linkedlists.h:23: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from translate.c: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_initIn file included from udptl.c ^: 63In file included from : translate.cIn file included from :/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h38:: 33/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/channel.h::9144:: In file included from warning/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h: :'pthread_mutex_destroy' macro redefined [-Wmacro-redefined]30 : In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750#define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h ^: 935/usr/include/pthread.h::10346:: 9warning:: array subscript is of type 'char' [-Wchar-subscripts]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 *pos = toupper(*pos);: 9 ~~~~~~~^~~~~~~~~~~~~~ : warning/usr/include/sys/ctype_inline.h: :'pthread_cond_init' macro redefined [-Wmacro-redefined]60 :46: note#define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init: expanded from macro 'toupper' ^ /usr/include/pthread.h:366#define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])): 9 ^: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.hnote:: 52previous definition is here: 47: #define pthread_cond_init __libc_cond_initnote ^: expanded from macro 'AST_INLINE_API'In file included from translate.c:38# define AST_INLINE_API(hdr, body) inline hdr body: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h ^~~~: 562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_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: warningIn file included from : udptl.c'pthread_cond_signal' macro redefined [-Wmacro-redefined]: 63: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/udptl.h:#define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal33 : ^In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/channel.h/usr/include/pthread.h::144367: :In file included from 9/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/config.h:: 30note: : previous definition is hereIn file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:#define pthread_cond_signal __libc_cond_signal750 : ^/data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h :In file included from 994translate.c::2238:: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.hwarning:: 564:9array subscript is of type 'char' [-Wchar-subscripts]: warning: hash = hash * 33 ^ tolower(*str++);'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:#define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast46: ^note : /usr/include/pthread.hexpanded from macro 'tolower':368 :9:#define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) 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 ^ udptl.c:291:54: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((enclen = encode_length(buf, len, num_octets)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ udptl.c:575:35: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (encode_length(buf, &len, 0) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ udptl.c:587:41: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (encode_length(buf, &len, entries) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ 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)])) ^~~~ [CC] xmldoc.c -> xmldoc.o 13 warnings generated. [LD] app_dial.o -> app_dial.so 16 warnings generated. [LD] app_speech_utils.o -> app_speech_utils.so [CC] hash/hash.c -> hash/hash.o [LD] app_channelredirect.o -> app_channelredirect.so creating cache ./config.cache checking for gcc... clang checking whether the C compiler (clang -pthread -I../..//include -O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fnested-functions -g3 -pthread -I/usr/pkg/include -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/local/lib ) works... In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from utils.c:53: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from utils.c:56: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/sha1.h:302:12: error: conflicting types for 'hmac' extern int hmac(SHAversion whichSha, /* which SHA algorithm to use */ ^ /usr/include/stdlib.h:303:10: note: previous declaration is here ssize_t hmac(const char *, const void *, size_t, const void *, size_t, void *, ^ In file included from utils.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:55:44: note: expanded from macro 'AST_INLINE_API' #define AST_INLINE_API(hdr, body) hdr; hdr body ^~~~ In file included from utils.c:61: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ utils.c:211:13: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (!isdigit(*s)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ utils.c:231:11: warning: implicit declaration of function 'gethostbyname_r' is invalid in C99 [-Wimplicit-function-declaration] result = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &herrno); ^ utils.c:231:11: warning: this function declaration is not a prototype [-Wstrict-prototypes] utils.c:231:9: warning: incompatible integer to pointer conversion assigning to 'struct hostent *' from 'int' [-Wint-conversion] result = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &herrno); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [LD] app_ices.o -> app_ices.so [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o 17 warnings and 1 error generated. [LD] app_chanspy.o -> app_chanspy.so [CC] hash/hash_buf.c -> hash/hash_buf.o /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/Makefile.rules:109: recipe for target 'utils.o' failed make[1]: *** [utils.o] Error 1 make[1]: *** Waiting for unfinished jobs.... [CC] hash/hash_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 ^ 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_log2.c -> hash/hash_log2.o 1 warning generated. 13 warnings generated. [LD] app_echo.o -> app_echo.so [LD] app_zapateller.o -> app_zapateller.so [CC] hash/hash_page.c -> hash/hash_page.o [CC] hash/ndbm.c -> hash/ndbm.o 16 warnings generated. [LD] app_followme.o -> app_followme.so [CC] btree/bt_close.c -> btree/bt_close.o [CC] btree/bt_conv.c -> btree/bt_conv.o [LD] app_verbose.o -> app_verbose.so 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... [CC] btree/bt_debug.c -> btree/bt_debug.o [LD] app_playback.o -> app_playback.so [LD] app_directory.o -> app_directory.so 31 warnings generated. [CC] btree/bt_delete.c -> btree/bt_delete.o [CC] btree/bt_get.c -> btree/bt_get.o 14 warnings generated. [LD] app_disa.o -> app_disa.so [LD] app_mp3.o -> app_mp3.so [LD] app_parkandannounce.o -> app_parkandannounce.so [CC] btree/bt_open.c -> btree/bt_open.o [CC] btree/bt_overflow.c -> btree/bt_overflow.o 13 warnings generated. yes checking whether clang accepts -g... [LD] app_getcpeid.o -> app_getcpeid.so [LD] app_readexten.o -> app_readexten.so [CC] btree/bt_page.c -> btree/bt_page.o [LD] app_senddtmf.o -> app_senddtmf.so [CC] btree/bt_put.c -> btree/bt_put.o [LD] app_while.o -> app_while.so [LD] app_milliwatt.o -> app_milliwatt.so [LD] app_exec.o -> app_exec.so [CC] btree/bt_search.c -> btree/bt_search.o [LD] app_readfile.o -> app_readfile.so [CC] btree/bt_seq.c -> btree/bt_seq.o [CC] btree/bt_split.c -> btree/bt_split.o [LD] app_stack.o -> app_stack.so 13 warnings generated. [CC] btree/bt_utils.c -> btree/bt_utils.o [CC] db/db.c -> db/db.o [CC] mpool/mpool.c -> mpool/mpool.o [CC] recno/rec_close.c -> recno/rec_close.o [LD] app_confbridge.o -> app_confbridge.so [CC] recno/rec_delete.c -> recno/rec_delete.o [CC] recno/rec_get.c -> recno/rec_get.o [LD] app_userevent.o -> app_userevent.so yes checking how to run the C preprocessor... clang-cpp checking for mawk... /usr/bin/awk [CC] recno/rec_open.c -> recno/rec_open.o checking host system type... x86_64--netbsd checking ABI... [LD] app_sayunixtime.o -> app_sayunixtime.so [CC] recno/rec_put.c -> recno/rec_put.o [LD] app_chanisavail.o -> app_chanisavail.so [CC] recno/rec_search.c -> recno/rec_search.o [LD] app_transfer.o -> app_transfer.so [LD] app_dumpchan.o -> app_dumpchan.so [CC] recno/rec_seq.c -> recno/rec_seq.o [LD] app_test.o -> app_test.so In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:556:9: warning: 'pthread_mutex_lock' macro redefined [-Wmacro-redefined] #define pthread_mutex_lock use_ast_mutex_lock_instead_of_pthread_mutex_lock ^ /usr/include/pthread.h:343:9: note: previous definition is here #define pthread_mutex_lock __libc_mutex_lock ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:557:9: warning: 'pthread_mutex_unlock' macro redefined [-Wmacro-redefined] #define pthread_mutex_unlock use_ast_mutex_unlock_instead_of_pthread_mutex_unlock ^ /usr/include/pthread.h:345:9: note: previous definition is here #define pthread_mutex_unlock __libc_mutex_unlock ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:558:9: warning: 'pthread_mutex_trylock' macro redefined [-Wmacro-redefined] #define pthread_mutex_trylock use_ast_mutex_trylock_instead_of_pthread_mutex_trylock ^ /usr/include/pthread.h:344:9: note: previous definition is here #define pthread_mutex_trylock __libc_mutex_trylock ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:559:9: warning: 'pthread_mutex_init' macro redefined [-Wmacro-redefined] #define pthread_mutex_init use_ast_mutex_init_instead_of_pthread_mutex_init ^ /usr/include/pthread.h:342:9: note: previous definition is here #define pthread_mutex_init __libc_mutex_init ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:560:9: warning: 'pthread_mutex_destroy' macro redefined [-Wmacro-redefined] #define pthread_mutex_destroy use_ast_mutex_destroy_instead_of_pthread_mutex_destroy ^ /usr/include/pthread.h:346:9: note: previous definition is here #define pthread_mutex_destroy __libc_mutex_destroy ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:561:9: warning: 'pthread_cond_init' macro redefined [-Wmacro-redefined] #define pthread_cond_init use_ast_cond_init_instead_of_pthread_cond_init ^ /usr/include/pthread.h:366:9: note: previous definition is here #define pthread_cond_init __libc_cond_init ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:562:9: warning: 'pthread_cond_destroy' macro redefined [-Wmacro-redefined] #define pthread_cond_destroy use_ast_cond_destroy_instead_of_pthread_cond_destroy ^ /usr/include/pthread.h:371:9: note: previous definition is here #define pthread_cond_destroy __libc_cond_destroy ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:563:9: warning: 'pthread_cond_signal' macro redefined [-Wmacro-redefined] #define pthread_cond_signal use_ast_cond_signal_instead_of_pthread_cond_signal ^ /usr/include/pthread.h:367:9: note: previous definition is here #define pthread_cond_signal __libc_cond_signal ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:564:9: warning: 'pthread_cond_broadcast' macro redefined [-Wmacro-redefined] #define pthread_cond_broadcast use_ast_cond_broadcast_instead_of_pthread_cond_broadcast ^ /usr/include/pthread.h:368:9: note: previous definition is here #define pthread_cond_broadcast __libc_cond_broadcast ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:565:9: warning: 'pthread_cond_wait' macro redefined [-Wmacro-redefined] #define pthread_cond_wait use_ast_cond_wait_instead_of_pthread_cond_wait ^ /usr/include/pthread.h:369:9: note: previous definition is here #define pthread_cond_wait __libc_cond_wait ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:32: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/lock.h:566:9: warning: 'pthread_cond_timedwait' macro redefined [-Wmacro-redefined] #define pthread_cond_timedwait use_ast_cond_timedwait_instead_of_pthread_cond_timedwait ^ /usr/include/pthread.h:370:9: note: previous definition is here #define pthread_cond_timedwait __libc_cond_timedwait ^ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:935:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *pos = toupper(*pos); ~~~~~~~^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^ /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/inline_api.h:52:47: note: expanded from macro 'AST_INLINE_API' # define AST_INLINE_API(hdr, body) inline hdr body ^~~~ In file included from mpool/mpool.c:52: In file included from /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/utils.h:750: /data/scratch/comms/asterisk18/work/asterisk-1.8.32.3/include/asterisk/strings.h:994:22: warning: array subscript is of type 'char' [-Wchar-subscripts] hash = hash * 33 ^ tolower(*str++); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [CC] recno/rec_utils.c -> recno/rec_utils.o [LD] app_nbscat.o -> app_nbscat.so [LD] app_sendtext.o -> app_sendtext.so [LD] app_image.o -> app_image.so [LD] app_softhangup.o -> app_softhangup.so [LD] app_minivm.o -> app_minivm.so [LD] app_voicemail.o -> app_voicemail.so 13 warnings generated. elf checking for a BSD compatible install... /usr/bin/install -c -o pbulkXXX -g users checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for tgetent in -ltermcap... [LD] app_morsecode.o -> app_morsecode.so [LD] app_festival.o -> app_festival.so [LD] app_system.o -> app_system.so [LD] app_mixmonitor.o -> app_mixmonitor.so [LD] app_privacy.o -> app_privacy.so yes checking for termcap.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 sys/cdefs.h... 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