Opened 16 years ago

Last modified 15 years ago

#891 closed Bugs (fixed)

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

Reported by: rajskm@… Owned by: Douglas Gregor
Milestone: Component: function
Version: None Severity: Showstopper
Keywords: Cc:

Description (last modified by Douglas Gregor)

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 (5)

comment:1 by Douglas Gregor, 16 years ago

Logged In: YES 
user_id=249098
Originator: NO

Do you have run-time type information turned off?

comment:2 by nobody, 16 years ago

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?

comment:3 by Douglas Gregor, 16 years ago

Logged In: YES 
user_id=249098
Originator: NO

I have attempted to fix this bug in the main Boost CVS.

comment:4 by Marshall Clow, 15 years ago

Owner: changed from Douglas Gregor to doug_gregor
Severity: Showstopper
Status: assignednew

Assigned to "doug_gregor" instead of nonexistent user "dgregor"

comment:5 by Douglas Gregor, 15 years ago

Description: modified (diff)
Owner: changed from doug_gregor to Douglas Gregor
Reporter: changed from nobody to rajskm@…
Status: newassigned
Note: See TracTickets for help on using tickets.