You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <qp...@incubator.apache.org> on 2009/02/02 22:59:59 UTC

[jira] Resolved: (QPID-1561) qmfconsole Event.h enum Severity has macro name clash on Windows

     [ https://issues.apache.org/jira/browse/QPID-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Huston resolved QPID-1561.
--------------------------------

       Resolution: Fixed
    Fix Version/s: M5
         Assignee: Steve Huston

Diff applied; Fixed in svn r740113.

> qmfconsole Event.h enum Severity has macro name clash on Windows
> ----------------------------------------------------------------
>
>                 Key: QPID-1561
>                 URL: https://issues.apache.org/jira/browse/QPID-1561
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Managment Framework
>    Affects Versions: M4
>         Environment: Windows, Visual Studio 2008
>            Reporter: Steve Huston
>            Assignee: Steve Huston
>             Fix For: M5
>
>         Attachments: qpid-1561.diff
>
>
> 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org