activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seb Rose <nab...@claysnow.co.uk>
Subject Re: Error compiling Active MQ CPP API on SunOS 10 with Sun Studio 12 compiler
Date Tue, 01 Dec 2009 16:44:10 GMT

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<bool>(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.


Mime
View raw message