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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: proton-0.4
    • Component/s: proton-c
    • Labels:
    • Environment:
       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

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

              Dates

              • Created:
                Updated:
                Resolved: