You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Glenn McClements (JIRA)" <ji...@apache.org> on 2012/11/27 15:41:57 UTC

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

Glenn McClements created PROTON-166:
---------------------------------------

             Summary: 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
            Priority: Trivial


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