[
https://issues.apache.org/jira/browse/QPID-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Huston resolved QPID-1625.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.5
This was fixed and on trunk prior to the 0.5-release branch (it came in with
qpid-1673 DLL changes), so is good to go for 0.5.
> C++ tests need Linux-isms changed to build on Windows
> -----------------------------------------------------
>
> Key: QPID-1625
> URL: https://issues.apache.org/jira/browse/QPID-1625
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker, C++ Client
> Affects Versions: M4
> Environment: Windows
> Reporter: Steve Huston
> Assignee: Steve Huston
> Priority: Minor
> Fix For: 0.5
>
>
> A number of the qpid/cpp/src/tests sources contain #includes that don't work
> on Windows. For example, <alloca.h>. In many cases, the referenced facilities
> exist on Windows but are accessed slightly differently. For example, this
> works on Windows where <alloca.h> is included:
> #ifdef _WIN32
> # include <malloc.h>
> # define alloc _alloc
> #else
> # include <alloca.h>
> #endif
> I was thinking that, rather than add things to qpid/cpp/src/qpid/sys
> (platform-specific code for broker and client) that a sys directory be added
> to qpid/cpp/src/tests where things used just for the testing are placed. For
> example, there could be a tests/sys/alloca.h which contains, essentially, the
> ifdef block above.
> Thoughts?
--
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]