You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Eric Haszlakiewicz (JIRA)" <ji...@apache.org> on 2008/10/22 17:59:44 UTC

[jira] Created: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

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

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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

Posted by "Eric Haszlakiewicz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Haszlakiewicz closed AXIS2C-1280.
--------------------------------------


> 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] Updated: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

Posted by "Eric Haszlakiewicz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Haszlakiewicz updated AXIS2C-1280:
---------------------------------------

    Attachment: axis_headers.diff

> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

Posted by "Eric Haszlakiewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar resolved AXIS2C-1280.
--------------------------------------

    Resolution: Fixed

Patch applied in revision 731852. Thank you very much for the patch.

> 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] Assigned: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar reassigned AXIS2C-1280:
----------------------------------------

    Assignee: S.Uthaiyashankar

> 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.

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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] Updated: (AXIS2C-1280) Headers don't compile with warnings turned on due to not entirely valid prototypes.

Posted by "Manjula Peiris (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manjula Peiris updated AXIS2C-1280:
-----------------------------------

    Fix Version/s: 1.6.0

> 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
>             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.