Qpid Proton
  1. Qpid Proton
  2. PROTON-166

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 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

        Activity

        Glenn McClements created issue -
        Rafael H. Schloming made changes -
        Field Original Value New Value
        Fix Version/s 0.4 [ 12324003 ]
        Rafael H. Schloming made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Rafael H. Schloming [ rhs ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development