<div>Thanks all.. I&#39;ve resolved the issue (was my oversight). I needed to update my ptree_implementation.hpp </div>
<div>in the common include path.</div>
<div>Thanks,</div>
<div>--Sunil.<br><br></div>
<div class="gmail_quote">On Fri, Oct 28, 2011 at 9:22 PM, Sunil Thomas <span dir="ltr">&lt;<a href="mailto:sgthomas27@gmail.com">sgthomas27@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi all!<br>�� I am getting the following error with boost-1.45.0 using MS VS 2010 Profession, Win64 <br>(Windows Vista 64 bit). Appreciate if anyone knows a fix. This error was seen with older <br>
versions like 1.41 and so on; hence, it must&#39;ve been fixed by now.<br><br><pre>&lt;path\to&gt;\boost/property_tree/detail/ptree_implementation.hpp(30) : error C2440: &#39;specialization&#39; : cannot convert from &#39;const std::string std::_Pair_base&lt;_Ty1,_Ty2&gt;::* &#39; to &#39;const std::basic_string&lt;_Elem,_Traits,_Ax&gt; std::pair&lt;_Ty1,_Ty2&gt;::* &#39;<br>

        with<br>        [<br>            _Ty1=const std::string,<br>            _Ty2=boost::property_tree::basic_ptree&lt;std::string,std::string&gt;<br>        ]<br>        and<br>        [<br>            _Elem=char,<br>

            _Traits=std::char_traits&lt;char&gt;,<br>            _Ax=std::allocator&lt;char&gt;,<br>            _Ty1=const std::string,<br>            _Ty2=boost::property_tree::basic_ptree&lt;std::string,std::string&gt;<br>

        ]<br>        Standard conversion from pointer-to-member of base to pointer-to-member of derived is not applied for template arguments<br>        &lt;path\to&gt;\boost/property_tree/detail/ptree_implementation.hpp(78) : see reference to class template instantiation &#39;boost::property_tree::basic_ptree&lt;Key,Data&gt;::subs&#39; being compiled<br>

        with<br>        [<br>            Key=std::string,<br>            Data=std::string<br>        ]<br>        &lt;path\to&gt;\boost/foreach.hpp(265) : see reference to class template instantiation &#39;boost::property_tree::basic_ptree&lt;Key,Data&gt;::const_iterator&#39; being compiled<br>

        with<br>        [<br>            Key=std::string,<br>            Data=std::string<br>        ]<br>        libs\graph\src\graphml.cpp(36) : see reference to class template instantiation &#39;boost::foreach_detail_::auto_any&lt;T&gt;&#39; being compiled<br>

        with<br>        [<br>            T=boost::property_tree::basic_ptree&lt;std::string,std::string&gt;::const_iterator<br>        ]<br><br></pre>Appreciate any help!<br>Thanks,<br><font color="#888888">--Sunil.<br></font></blockquote>
</div><br>