Boost C++ Libraries: Ticket #3106: wave on VS2010 beta compiler generates error https://svn.boost.org/trac10/ticket/3106 <p> file: boost\wave\util\cpp_include_paths.hpp (line 89). </p> <p> This is because MS splitted std::pair (in order to use new move semantics syntax). </p> <p> generated error: "_include_paths.hpp(89): error C2440: 'specialization' : cannot convert from 'std::string std::_Pair_base&lt;_Ty1,_Ty2&gt;::* ' to 'std::string std::pair&lt;_Ty1,_Ty2&gt;::* ' </p> <blockquote> <p> with [ </p> <blockquote> <p> _Ty1=std::string, _Ty2=std::string </p> </blockquote> <p> ] Standard conversion from pointer-to-member of base to pointer-to-member of derived is not applied for template arguments </p> </blockquote> <p> " </p> <p> and </p> <p> " _include_paths.hpp(146) : see reference to class template instantiation 'boost::wave::util::bidirectional_map&lt;<a class="missing wiki">FromType</a>,<a class="missing wiki">ToType</a>&gt;' being compiled </p> <blockquote> <p> with [ </p> <blockquote> <p> <a class="missing wiki">FromType</a>=std::string, <a class="missing wiki">ToType</a>=std::string </p> </blockquote> <p> ] </p> </blockquote> <p> " </p> <p> The current workaround may be to define "BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS" to use boost::multi_index::member_offset instead of "member". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3106 Trac 1.4.3 Hartmut Kaiser Sat, 30 May 2009 13:07:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3106#comment:1 https://svn.boost.org/trac10/ticket/3106#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53455" title="Wave: fixed compilation problems on VC10 beta 1 (fixes #3106)">[53455]</a>) Wave: fixed compilation problems on VC10 beta 1 (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3106" title="#3106: Bugs: wave on VS2010 beta compiler generates error (closed: fixed)">#3106</a>) </p> Ticket anthony akentiev Mon, 01 Jun 2009 07:22:53 GMT <link>https://svn.boost.org/trac10/ticket/3106#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3106#comment:2</guid> <description> <p> Thank you, Hartmut! </p> </description> <category>Ticket</category> </item> <item> <author>Richard Webb <richard.webb@…></author> <pubDate>Wed, 28 Oct 2009 14:04:42 GMT</pubDate> <title>status, version, milestone changed; resolution deleted https://svn.boost.org/trac10/ticket/3106#comment:3 https://svn.boost.org/trac10/ticket/3106#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.39.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> <p> This error is occuring again with VC10 Beta 2. </p> <p> Changing the previous fix to compare _MSC_FULL_VER with 160021003 instead of 160020506 allows it to compile. </p> Ticket Hartmut Kaiser Wed, 28 Oct 2009 14:29:06 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3106#comment:4 https://svn.boost.org/trac10/ticket/3106#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/57192" title="Wave: fixing compilation for VC10 Beta2 (fixes #3106)">[57192]</a>) Wave: fixing compilation for VC10 Beta2 (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3106" title="#3106: Bugs: wave on VS2010 beta compiler generates error (closed: fixed)">#3106</a>) </p> Ticket rwebb <richard.webb@…> Sat, 13 Feb 2010 10:26:06 GMT status, milestone changed; resolution deleted https://svn.boost.org/trac10/ticket/3106#comment:5 https://svn.boost.org/trac10/ticket/3106#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.42.0</span> → <span class="trac-field-new">Boost 1.43.0</span> </li> </ul> <p> Time for round 3 - it's failing again in the VC10 release candidate. </p> <p> _MSC_FULL_VER is now 160030128. </p> Ticket Hartmut Kaiser Sat, 13 Feb 2010 14:46:51 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3106#comment:6 https://svn.boost.org/trac10/ticket/3106#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/59667" title="Wave: fixing compilation for VC10 RC (fixes #3106) ">[59667]</a>) Wave: fixing compilation for VC10 RC (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3106" title="#3106: Bugs: wave on VS2010 beta compiler generates error (closed: fixed)">#3106</a>) </p> Ticket rwebb <richard.webb@…> Wed, 14 Apr 2010 14:53:33 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/3106#comment:7 https://svn.boost.org/trac10/ticket/3106#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Hopefully the last time for this! </p> <p> This problem still occurs in the release version of VC10. _MSC_FULL_VER is 160030319 if that is still needed. </p> Ticket Hartmut Kaiser Thu, 15 Apr 2010 11:25:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3106#comment:8 https://svn.boost.org/trac10/ticket/3106#comment:8 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61286" title="Wave: fixed #3106: wave on VS2010 beta compiler generates error">[61286]</a>) Wave: fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3106" title="#3106: Bugs: wave on VS2010 beta compiler generates error (closed: fixed)">#3106</a>: wave on VS2010 beta compiler generates error </p> Ticket Joël Conraud <jconraud@…> Fri, 26 Nov 2010 16:20:38 GMT <link>https://svn.boost.org/trac10/ticket/3106#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3106#comment:9</guid> <description> <p> By doing a change local to a wave file, anyone trying to use multiindex with vs2010 in a way similar to the way used in wave will face the same issue. I discovered that the hard way... because I have faced the same issue in my code and I found this ticket by googling for a solution ;-) </p> <p> I believe a special case for vs2010 should be done at a more central location inside boost, setting BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS for this compiler globally, rather than doing so locally inside wave part. What do you think? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Sebastian Redl</dc:creator> <pubDate>Fri, 26 Nov 2010 16:36:26 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3106#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3106#comment:10</guid> <description> <p> I would like it globally (<a class="missing wiki">PropertyTree</a> also needs it). but the macro name is wrong. It's not an issue with member pointers as template parameters - VS2010 is actually perfectly conforming in that it doesn't allow conversions for them (defect in the standard IMO). It's an issue with std::pair, because its members aren't direct members of pair itself. That also means it shouldn't depend on the compiler version, but on the standard library version, as an Intel compiler integrated with VS2010 exhibits the same problem. </p> <p> So I think the name should be BOOST_NO_DIRECT_PAIR_MEMBERS or something like that. </p> </description> <category>Ticket</category> </item> <item> <author>Joël Conraud <jconraud@…></author> <pubDate>Fri, 26 Nov 2010 16:43:22 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3106#comment:11 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3106#comment:11</guid> <description> <p> Your proposal sounds pretty good to me. I'm all for it! </p> </description> <category>Ticket</category> </item> </channel> </rss>