Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1561

qmfconsole Event.h enum Severity has macro name clash on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M4
    • 0.5
    • QMF
    • None
    • Windows, Visual Studio 2008

    Description

      The Severity enum in qpid/cpp/src/qpid/console/Event.h uses a set of names, including ERROR. ERROR is a Windows macro, which clashes and causes a compile error.
      Also see QPID-1368.

      Probably good to prepend a tag to the names like SEV_ (SEV_EMERGENCY, SEV_ALERT, etc.) to avoid this. Ok? Or are there other ideas?

      Attachments

        1. qpid-1561.diff
          2 kB
          Stephen D. Huston

        Activity

          People

            shuston Stephen D. Huston
            shuston Stephen D. Huston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: