Boost C++ Libraries: Ticket #259: Problem compiling :/ https://svn.boost.org/trac10/ticket/259 <pre class="wiki">Hi :) I've some problems compiling code that use \boost\iterator\transform_iterator.hpp (under VC++ 7 - VS2K2) : transform_iterator.hpp(45) : error C2825 : 'UnaryFunction::result_type': cannot form a qualified name transform_iterator.hpp(45) : error C2039: 'result_type' : is not a member of 'operator``global namespace''' transform_iterator.hpp(45) : fatal error C1507 : previous user errors and subsequent error recovery halt further compilation Thanks in advance :) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/259 Trac 1.4.3 Vladimir Prus Wed, 28 Apr 2004 09:07:39 GMT <link>https://svn.boost.org/trac10/ticket/259#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/259#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=321498 Please provide a complete example which exhibits the problem. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>nobody</dc:creator> <pubDate>Sun, 03 Oct 2004 09:42:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/259#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/259#comment:2</guid> <description> <pre class="wiki">Logged In: NO The following compiles under Visual C++ .Net with "Language Extensions" enabled, but it fails otherwise: #include &lt;boost/token_iterator.hpp&gt; int main() { return 0; } The received errors are: d:\Programming\boost\boost\detail\iterator.hpp(174) : error C2061: syntax error : identifier 'value_type' d:\Programming\boost\boost\mpl\aux_\preprocessed\msvc70\or.hpp(27) : error C2970: 'boost::mpl::aux::or_impl' : template argument 'C_' : invalid use of non-integral-constant static variable 'value' as non-type argument (and 4 more similar to the last one) How can I fix this? Any help will be appreciated. Hector C. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>david_abrahams</dc:creator> <pubDate>Thu, 11 Jan 2007 00:32:47 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/259#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/259#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=52572 Originator: NO I'm assigning this to John Bandela, the token iterator author, in case he wants to take responsibility for it. However, it looks very much like a compiler bug (vc7 is rife with them) and if I were John I'd probably close it as "won't fix" because the compiler is two versions out-of-date and finding a workaround is likely to be difficult. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Sun, 19 Aug 2007 15:58:56 GMT</pubDate> <title>component, description changed; severity set https://svn.boost.org/trac10/ticket/259#comment:4 https://svn.boost.org/trac10/ticket/259#comment:4 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">iterator</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/259?action=diff&amp;version=4">diff</a>) </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Marshall Clow Tue, 06 Nov 2007 05:10:36 GMT status, resolution, component changed https://svn.boost.org/trac10/ticket/259#comment:5 https://svn.boost.org/trac10/ticket/259#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">iterator</span> → <span class="trac-field-new">tokenizer</span> </li> </ul> <p> The test file "simple_example_5.cpp" for the tokenizer library includes this file, and passes the regression tests on both VS 7.1, and 8.0. </p> <p> Marking as fixed. </p> Ticket