[ 
https://issues.apache.org/jira/browse/QPID-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828785#action_12828785
 ] 

Marcel Roelofs commented on QPID-2371:
--------------------------------------

It's not really pervasive, it's needed to get mssql_store and qpidxarm compiled 
properly. The first component has its own cmakefile where you could add the 
extra define, but the latter is generated via the cmakefile to which I 
suggested the change (for that particular reason).

Your change works fine as well, it's just my non-fluency in cmake that made me 
come up with my less sophisticated solution.

With the exception of the ResilientConnection.cpp compilation (that was subject 
of QPID-1982), it seems we're there now  to get everything to compile and link 
properly using VC8. In case you're interested, in ResilientConnection.cpp the 
problem was the write function not being declared anywhere. If that's relevant 
information for QPID-1982, I would add it as a comment there, and close this 
jira.

> Missing includes for MSVC 2005 compiler
> ---------------------------------------
>
>                 Key: QPID-2371
>                 URL: https://issues.apache.org/jira/browse/QPID-2371
>             Project: Qpid
>          Issue Type: Improvement
>          Components: C++ Broker
>    Affects Versions: 0.6
>         Environment: MSVC 2005
>            Reporter: Marcel Roelofs
>            Assignee: Steve Huston
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: msvc2005.patch
>
>
> When compiling the 0.6 release candidate using MSVC 2005 I found some missing 
> header file includes that prevented qpid to compile out of the box. I'll add 
> a patch later.
> Also I had to add "/D _WIN32_WINNT=0x0501" to the compiler flags during cmake 
> makefile generation to prevent compile errors in various components, but I've 
> no idea how to add this to the cmake configuration. 

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

Reply via email to