Opened 16 years ago

Last modified 15 years ago

#891 closed Bugs (fixed)

Bunch of compilation error reported while using function.hpp — at Initial Version

Reported by: nobody Owned by: Douglas Gregor
Milestone: Component: function
Version: None Severity: Showstopper
Keywords: Cc:

Description

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 <boost/function.hpp> the following bunch of errors get generated. I downloaded the latest boost source from CVS today.

#include <boost/function.hpp>
#include <boost/test/utils/basic_cstring/basic_cstring.hpp>

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 '<'
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 : '<'
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)

Change History (0)

Note: See TracTickets for help on using tickets.