[ 
https://issues.apache.org/activemq/browse/AMQCPP-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Musenbrock updated AMQCPP-295:
--------------------------------------

    Attachment: ReentrantLock.cpp.diff

Proposed patch for windows compile errors

> 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.1.3
>         Environment: Windows XP, Microsoft Visual Studio 2010 Express Edition
>            Reporter: Michael Musenbrock
>            Assignee: Timothy Bish
>             Fix For: 3.2.0
>
>         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.

Reply via email to