activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Musenbrock (JIRA)" <>
Subject [jira] Reopened: (AMQCPP-295) Build Error on windows machines due to missing/wrong ifdef
Date Mon, 21 Jun 2010 09:28:52 GMT


Michael Musenbrock reopened AMQCPP-295:

Compiler is still complaining about: timeval struct, gettimeofday and not defined result.
All these informations are only needed for versions using HAVE_PTHREAD_H, so please expand
I'll attach my proposal as patch.

> Build Error on windows machines due to missing/wrong ifdef
> ----------------------------------------------------------
>                 Key: AMQCPP-295
>                 URL:
>             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.

View raw message