http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53173
--- Comment #2 from gcc <shalja.rudra at gmail dot com> 2012-04-30 20:31:49 UTC --- Thanks Marc ! Sorry on missing most words in few error lines. 2. error: no matching function for call to ‘std::pair<const long unsigned int, boost::shared_ptr<const a::b::c::dConfig> >::pair(long unsigned int, const a::b::c::Config*)’ 5. error: declaration of ‘~typename a::b::c::dControl<Data, PublicSecurityID, PrivateSecurityID, ControlQueue, StatusQueue, Queue>::dControl’ as member of ‘a::b::c::dControl<Data, PublicSecurityID, PrivateSecurityID, FeedControlQueue, StatusQueue, Queue>’ Please suggest. Thanks