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.