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
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:[email protected]