[
https://issues.apache.org/activemq/browse/AMQCPP-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQCPP-295.
---------------------------------
Fix Version/s: 3.2.1
Resolution: Fixed
Updated source file to exclude problem code in windows. File isn't part of the
default studio files though so it shouldn't matter.
> Build Error on windows machines due to missing/wrong ifdef
> ----------------------------------------------------------
>
> Key: AMQCPP-295
> URL: https://issues.apache.org/activemq/browse/AMQCPP-295
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: Decaf
> Affects Versions: 3.2.0
> Environment: Windows XP, Microsoft Visual Studio 2010 Express Edition
> Reporter: Michael Musenbrock
> Assignee: Timothy Bish
> Fix For: 3.2.1
>
> Attachments: ReentrantLock.cpp.diff
>
>
> It seems that the ConditionObject::awaitNanos methos in
> decaf/util/concurrent/locks/ReentrantLock.cpp has a missing ifdef-statement
> (HAVE_PTHREAD_H) because even on Windows machines the codeblock with
> pthread_cond_timedwait in it is compiled, and of course fails. In all other
> methods in that sourcefile this call is surrounded by the already mentioned
> ifdef.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.