Page 1 of 1

Boost 1.53 smart pointer changes

Posted: Sun Mar 03, 2013 10:25 am
by zaksoft
due to boost changes using RCF with 1.53 lead to following errors during build..

1>e:\vc10mfcdev\gallery\zlib100\zlib100\rcf\source\rcf\sspifilter.cpp(1091): error C2039: 'shared_static_cast' : is not a member of 'boost'
1>e:\vc10mfcdev\gallery\zlib100\zlib100\rcf\source\rcf\sspifilter.cpp(1091): error C2065: 'shared_static_cast' : undeclared identifier
1>e:\vc10mfcdev\gallery\zlib100\zlib100\rcf\source\rcf\sspifilter.cpp(1091): error C2275: 'RCF::SspiFilter' : illegal use of this type as an expression
1> e:\vc10mfcdev\gallery\zlib100\zlib100\rcf\include\rcf\sspifilter.hpp(85) : see declaration of 'RCF::SspiFilter'

Re: Boost 1.53 smart pointer changes

Posted: Sun Mar 03, 2013 10:47 pm
by jarl
Thanks for reporting this. We'll be putting out a new build shortly, to fix it.

Re: Boost 1.53 smart pointer changes

Posted: Tue Mar 05, 2013 11:55 pm
by jarl
Meanwhile, you can just change 'shared_static_cast' to 'static_pointer_cast' ... Boost 1.53.0 has deprecated shared_static_cast.

Re: Boost 1.53 smart pointer changes

Posted: Fri Mar 08, 2013 5:35 am
by jarl