[jira] Commented: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.
[ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12661059#action_12661059 ] S.Uthaiyashankar commented on AXIS2C-1280: -- this problem is due to -Wstrict-prototypes flag. Not because of -Werror flag.. Headers don't compile with warnings turned on due to not entirely valid prototypes. --- Key: AXIS2C-1280 URL: https://issues.apache.org/jira/browse/AXIS2C-1280 Project: Axis2-C Issue Type: Bug Components: util Affects Versions: 1.5.0 Environment: gcc 3.4.4 with -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wno-missing-prototypes -Wno-unused Reporter: Eric Haszlakiewicz Assignee: S.Uthaiyashankar Fix For: 1.6.0 Attachments: axis_headers.diff Original Estimate: 0.25h Remaining Estimate: 0.25h The function prototypes in several header files cause problem when they are used with warnings turned on. The attached patch corrects the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.
[ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12645008#action_12645008 ] Eric Haszlakiewicz commented on AXIS2C-1280: Yes, I just tried it on a machine with gcc 4.1.3 installed and it had the same problem. (That machine happened to be a NetBSD machine, and axis needed some additional patches to build there. (AXIS2C-1285)) Try this and you'll see the problem with the headers: cat EOF aa.c #include axutil_env.h EOF gcc -I${AXIS2C_HOME}/include/axis2-1.5.0 -Wstrict-prototypes -Werror -c aa.c Headers don't compile with warnings turned on due to not entirely valid prototypes. --- Key: AXIS2C-1280 URL: https://issues.apache.org/jira/browse/AXIS2C-1280 Project: Axis2-C Issue Type: Bug Components: util Affects Versions: 1.5.0 Environment: gcc 3.4.4 with -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wno-missing-prototypes -Wno-unused Reporter: Eric Haszlakiewicz Attachments: axis_headers.diff Original Estimate: 0.25h Remaining Estimate: 0.25h The function prototypes in several header files cause problem when they are used with warnings turned on. The attached patch corrects the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.
[ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12644885#action_12644885 ] Manjula Peiris commented on AXIS2C-1280: Eric, Is this happen with gcc 4.x.x also ? Headers don't compile with warnings turned on due to not entirely valid prototypes. --- Key: AXIS2C-1280 URL: https://issues.apache.org/jira/browse/AXIS2C-1280 Project: Axis2-C Issue Type: Bug Components: util Affects Versions: 1.5.0 Environment: gcc 3.4.4 with -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wno-missing-prototypes -Wno-unused Reporter: Eric Haszlakiewicz Attachments: axis_headers.diff Original Estimate: 0.25h Remaining Estimate: 0.25h The function prototypes in several header files cause problem when they are used with warnings turned on. The attached patch corrects the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]