Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-166

message.h: pn_message() should be declared pn_message(void)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • proton-0.4
    • proton-c
    •  CentOS release 5.5, GCC 4.1.2

    Description

      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

      Attachments

        Activity

          People

            rhs Rafael H. Schloming
            glennmcclements Glenn McClements
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: