[Boost-bugs] [ boost-Bugs-1698647 ] Bunch of compilation error reported while using function.hpp

Bugs item #1698647, was opened at 2007-04-11 10:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1698647&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: function Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Douglas Gregor (dgregor) Summary: Bunch of compilation error reported while using function.hpp Initial Comment: 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) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1698647&group_id=7586 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net