Summary: | ASTERISK-04973: [patch] gcc4 warnings for AEL | ||
Reporter: | Russell Bryant (russell) | Labels: | |
Date Opened: | 2005-09-02 12:41:46 | Date Closed: | 2008-01-15 15:46:58.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | PBX/pbx_ael |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) ael_gcc4.patch | |
Description: | gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -fomit-frame-pointer -D__Darwin__ -fPIC -c -o pbx_ael.o pbx_ael.c pbx_ael.c: In function 'arg_parse': pbx_ael.c:184: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness pbx_ael.c: In function 'param_parse': pbx_ael.c:257: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness pbx_ael.c: In function '__build_step': pbx_ael.c:549: warning: pointer targets in passing argument 1 of 'get_case' differ in signedness pbx_ael.c:777: warning: pointer targets in passing argument 8 of 'build_step' differ in signedness pbx_ael.c:785: warning: pointer targets in passing argument 8 of 'build_step' differ in signedness pbx_ael.c: In function 'build_step': pbx_ael.c:892: warning: pointer targets in passing argument 8 of '__build_step' differ in signedness pbx_ael.c: In function 'handle_macro': pbx_ael.c:939: warning: pointer targets in passing argument 1 of 'split_token' differ in signedness pbx_ael.c:940: warning: pointer targets in passing argument 1 of 'split_params' differ in signedness pbx_ael.c:962: warning: pointer targets in passing argument 1 of 'matches_keyword' differ in signedness pbx_ael.c:965: warning: pointer targets in passing argument 1 of 'parse_catch' differ in signedness pbx_ael.c:972: warning: pointer targets in passing argument 2 of 'build_step' differ in signedness pbx_ael.c:972: warning: pointer targets in passing argument 8 of 'build_step' differ in signedness pbx_ael.c: In function 'handle_context': pbx_ael.c:1037: warning: pointer targets in passing argument 1 of 'split_token' differ in signedness pbx_ael.c:1038: warning: pointer targets in passing argument 1 of 'split_params' differ in signedness pbx_ael.c:1046: warning: pointer targets in passing argument 1 of 'matches_keyword' differ in signedness pbx_ael.c:1049: warning: pointer targets in passing argument 1 of 'parse_keyword' differ in signedness pbx_ael.c:1054: warning: pointer targets in passing argument 2 of 'ast_context_add_include2' differ in signedness pbx_ael.c:1059: warning: pointer targets in passing argument 1 of 'matches_keyword' differ in signedness pbx_ael.c:1062: warning: pointer targets in passing argument 1 of 'parse_keyword' differ in signedness pbx_ael.c:1067: warning: pointer targets in passing argument 2 of 'ast_context_add_ignorepat2' differ in signedness pbx_ael.c:1072: warning: pointer targets in passing argument 1 of 'matches_keyword' differ in signedness pbx_ael.c:1072: warning: pointer targets in passing argument 1 of 'matches_keyword' differ in signedness pbx_ael.c:1075: warning: pointer targets in passing argument 1 of 'parse_keyword' differ in signedness pbx_ael.c:1080: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness pbx_ael.c:1086: warning: pointer targets in passing argument 2 of 'ast_context_add_switch2' differ in signedness pbx_ael.c:1091: warning: pointer targets in passing argument 1 of 'matches_extension' differ in signedness pbx_ael.c:1095: warning: pointer targets in passing argument 2 of 'build_step' differ in signedness pbx_ael.c:1095: warning: pointer targets in passing argument 6 of 'build_step' differ in signedness gcc -dynamic -bundle -undefined suppress -force_flat_namespace -o pbx_ael.so pbx_ael.o ****** ADDITIONAL INFORMATION ****** ... if only they were all this easy. :) | ||
Comments: | By: Kevin P. Fleming (kpfleming) 2005-09-02 15:12:00 Committed to CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:46:58.000-0600 Repository: asterisk Revision: 6506 U trunk/pbx/pbx_ael.c ------------------------------------------------------------------------ r6506 | kpfleming | 2008-01-15 15:46:57 -0600 (Tue, 15 Jan 2008) | 2 lines use matching char types for strings (issue ASTERISK-4973) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6506 |