You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Rafael H. Schloming (JIRA)" <ji...@apache.org> on 2013/02/15 21:21:13 UTC

[jira] [Resolved] (PROTON-166) message.h: pn_message() should be declared pn_message(void)

     [ https://issues.apache.org/jira/browse/PROTON-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafael H. Schloming resolved PROTON-166.
----------------------------------------

    Resolution: Fixed
      Assignee: Rafael H. Schloming
    
> message.h: pn_message() should be declared pn_message(void)
> -----------------------------------------------------------
>
>                 Key: PROTON-166
>                 URL: https://issues.apache.org/jira/browse/PROTON-166
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>         Environment:  CentOS release 5.5, GCC 4.1.2 
>            Reporter: Glenn McClements
>            Assignee: Rafael H. Schloming
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 0.4
>
>
> Depending on the strictness settings of the compiler, declaring a function with no arguments (as opposed to a void argument) causes a warning.   
> /home/glenn/dev/OpenMAMA/Proton/trunk/proton-c/build//include/proton/message.h:45: warning: function declaration isn't a prototype

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira