Boost C++ Libraries: Ticket #891: Bunch of compilation error reported while using function.hpp https://svn.boost.org/trac10/ticket/891 <pre class="wiki">My email ID: rajskm@gmail.com The following is the code i have for a .cpp file on MS EVC4.0. As soon as i include &lt;boost/function.hpp&gt; the following bunch of errors get generated. I downloaded the latest boost source from CVS today. #include &lt;boost/function.hpp&gt; #include &lt;boost/test/utils/basic_cstring/basic_cstring.hpp&gt; XmlParser::XmlParser() { } Compiling... MyExpatParser.cpp c:\projects\boost\boost\function\function_base.hpp(483) : error C2039: 'type_info' : is not a member of 'std' c:\projects\boost\boost\mem_fn.hpp(382) : error C2039: 'dm' : is not a member of '_mfi' c:\projects\boost\boost\mem_fn.hpp(382) : error C2143: syntax error : missing ';' before '&lt;' c:\projects\boost\boost\mem_fn.hpp(382) : error C2501: 'dm' : missing storage-class or type specifiers c:\projects\boost\boost\mem_fn.hpp(382) : error C2059: syntax error : ';' c:\projects\boost\boost\mem_fn.hpp(382) : error C2059: syntax error : '&lt;' c:\projects\boost\boost\mem_fn.hpp(382) : error C2653: 'T' : is not a class or namespace name c:\projects\boost\boost\mem_fn.hpp(382) : error C2645: no qualified name for pointer to member (found ':: *') c:\projects\boost\boost\mem_fn.hpp(387) : error C2143: syntax error : missing ';' before '}' c:\projects\boost\boost\mem_fn.hpp(387) : fatal error C1506: unrecoverable block scoping error Error executing clarm.exe. ExpatTestParser.exe - 10 error(s), 0 warning(s) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/891 Trac 1.4.3 Douglas Gregor Thu, 12 Apr 2007 12:22:42 GMT <link>https://svn.boost.org/trac10/ticket/891#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/891#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=249098 Originator: NO Do you have run-time type information turned off? </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>nobody</dc:creator> <pubDate>Tue, 17 Apr 2007 21:04:54 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/891#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/891#comment:2</guid> <description> <pre class="wiki">Logged In: NO Do you have run-time type information turned off? We tried both ways. Turining on and Turning off? Is this really the issue here? </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Douglas Gregor</dc:creator> <pubDate>Wed, 18 Apr 2007 12:23:43 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/891#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/891#comment:3</guid> <description> <pre class="wiki">Logged In: YES user_id=249098 Originator: NO I have attempted to fix this bug in the main Boost CVS. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Thu, 12 Jul 2007 15:17:35 GMT</pubDate> <title>owner, status changed; severity set https://svn.boost.org/trac10/ticket/891#comment:4 https://svn.boost.org/trac10/ticket/891#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">doug_gregor</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> Assigned to "doug_gregor" instead of nonexistent user "dgregor" </p> Ticket Douglas Gregor Thu, 13 Sep 2007 18:25:25 GMT owner, status, description, reporter changed https://svn.boost.org/trac10/ticket/891#comment:5 https://svn.boost.org/trac10/ticket/891#comment:5 <ul> <li><strong>owner</strong> changed from <span class="trac-author">doug_gregor</span> to <span class="trac-author">Douglas Gregor</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/891?action=diff&amp;version=5">diff</a>) </li> <li><strong>reporter</strong> changed from <span class="trac-author">nobody</span> to <span class="trac-author">rajskm@…</span> </li> </ul> Ticket Douglas Gregor Mon, 17 Sep 2007 18:47:46 GMT status, resolution changed https://svn.boost.org/trac10/ticket/891#comment:6 https://svn.boost.org/trac10/ticket/891#comment:6 <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> </ul> <p> Without any additional information about this bug (e.g., whether I've already fixed it on the trunk), there is nothing more I can do. Closing this bug. </p> Ticket