Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 94982 invoked from network); 21 Jun 2010 09:29:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jun 2010 09:29:20 -0000 Received: (qmail 3167 invoked by uid 500); 21 Jun 2010 09:29:20 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 3111 invoked by uid 500); 21 Jun 2010 09:29:18 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 2899 invoked by uid 99); 21 Jun 2010 09:29:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 09:29:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jun 2010 09:29:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5L9SqJ9024677 for ; Mon, 21 Jun 2010 09:28:52 GMT Message-ID: <14046868.20101277112532869.JavaMail.jira@thor> Date: Mon, 21 Jun 2010 05:28:52 -0400 (EDT) From: "Michael Musenbrock (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQCPP-295) Build Error on windows machines due to missing/wrong ifdef In-Reply-To: <31098544.12681276162131780.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ 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.