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

[jira] Updated: (QPID-1737) qpid C++ will not build with WinSDK 7

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

James Mansion updated QPID-1737:
--------------------------------

    Attachment: SIP.patch

Patch attached - replaces STATUS_INVALID_PARAMETER with STATUS_PARAMETER_INVALID.

> qpid C++ will not build with WinSDK 7
> -------------------------------------
>
>                 Key: QPID-1737
>                 URL: https://issues.apache.org/jira/browse/QPID-1737
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M4
>         Environment: XP 32 bit with latest SDK from Microsoft (SDK 7 beta)
>            Reporter: James Mansion
>         Attachments: SIP.patch
>
>
> I'm trying to build M4 of AMQP on XP with the Win7 SDK Beta, and I'm seeing that
> Manageable::STATUS_INVALID_PARAMETER
> is being expanded to:
> Manageable::((DWORD )0xC000000DL);
> I think this is because src\qpid/sys/windows/uuid.h has included rpc.h and included a lot of the SDK as a result.
> STATUS_INVALID_PARAMETER is defined in ntstatus.h and winnt.h.
> The include structure is rather Byzantine - I see there's a JIRA to tidy things up, though that is focussed on client applications.
> I suspect that one way or another this will bite again even if sufficient 'undefs' are added in the code now.
> I know this is Microsoft's bad for namespace pollution, but the practical answer is to change the name of this constant. 

-- 
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