Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 30686 invoked from network); 1 Dec 2009 17:46:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Dec 2009 17:46:17 -0000 Received: (qmail 45937 invoked by uid 500); 1 Dec 2009 17:46:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 45891 invoked by uid 500); 1 Dec 2009 17:46:17 -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 45814 invoked by uid 99); 1 Dec 2009 17:46:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:46:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:46:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NFVpi-0002od-GO for dev@activemq.apache.org; Tue, 01 Dec 2009 08:44:10 -0800 Message-ID: <26594247.post@talk.nabble.com> Date: Tue, 1 Dec 2009 08:44:10 -0800 (PST) From: Seb Rose To: dev@activemq.apache.org Subject: Re: Error compiling Active MQ CPP API on SunOS 10 with Sun Studio 12 compiler In-Reply-To: <24538512.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nabble@claysnow.co.uk References: <24538512.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org We experienced the same problem. It turned out to be a deficiency in the compiler. It wasn't deducing the template parameter from the return type. We edited the file (PrimitiveValueConverter.h), supplying full explicit specializations and it compiled OK e.g. (from memory): template<> bool ClassName::convertTo(Parameter& p){} -- View this message in context: http://old.nabble.com/Error-compiling-Active-MQ-CPP-API-on-SunOS-10-with-Sun-Studio-12-compiler-tp24538512p26594247.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.