qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Roelofs (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-2371) Missing includes for MSVC 2005 compiler
Date Mon, 01 Feb 2010 13:37:50 GMT

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

Marcel Roelofs commented on QPID-2371:

Steve, everything compiles out of the box with the patch to the cmakefile below. The extra
define specifies that the compiler targets Windows XP and Windows Server 2003; it's necessary
to pull some extra declarations into the Windows header files that are needed to compile qpid.
Apparently this (or better) is already the default for VC9 but not for VC8. If the default
for VC9 is higher than I guess taking the VC9 default value won't hurt either.

--- cpp/src/CMakeLists.txt	(revision 904026)
+++ cpp/src/CMakeLists.txt	(working copy)
@@ -404,6 +404,7 @@
       /D "NOMINMAX"
       /D "WIN32_LEAN_AND_MEAN"
+      /D _WIN32_WINNT=0x0501

> 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:dev-subscribe@qpid.apache.org

View raw message