Subject: Re: [Boost-bugs] [Boost C++ Libraries] #891: Bunch of compilation error reported while using function.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-09-13 18:25:26
#891: Bunch of compilation error reported while using function.hpp
-------------------------------+--------------------------------------------
Reporter: rajskm_at_[hidden] | Owner: dgregor
Type: Bugs | Status: assigned
Milestone: | Component: function
Version: None | Severity: Showstopper
Resolution: None | Keywords:
-------------------------------+--------------------------------------------
Changes (by dgregor):
* owner: doug_gregor => dgregor
* status: new => assigned
* reporter: nobody => rajskm_at_[hidden]
Old description:
> {{{
> My email ID: rajskm_at_[hidden]
>
> 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)
>
> }}}
New description:
{{{
My email ID: rajskm_at_[hidden]
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)
}}}
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/891#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC