Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2006-09-04 02:52:54


Bugs item #1551784, was opened at 2006-09-04 14:52
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=1551784&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: date_time
Group: release 1.34.0
Status: Open
Resolution: None
Priority: 5
Submitted By: zhiguo.zhao (zhaozg)
Assigned to: Jeff Garland (az_sw_dude)
Summary: local_time_facet error in VS2005 Win2003

Initial Comment:
local_time_facet *facet = new local_time_facet();

1>D:\work\boost\boost/range/const_iterator.hpp(37) :
error C2825: 'C': must be a class or namespace when
followed by '::'
1>
D:\work\boost\boost/algorithm/string/replace.hpp(656) :
see reference to class template instantiation
'boost::range_const_iterator<C>' being compiled
1> with
1> [
1> C=const char *
1> ]
1>
D:\work\boost\boost/date_time/time_facet.hpp(257) : see
reference to function template instantiation 'void
boost::algorithm::replace_all<std::basic_string<_Elem,_Traits,_Ax>,const
char*,std::basic_string<_Elem,_Traits,_Ax>>(SequenceT
&,const Range1T &,const Range2T &)' being compiled
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> _Ax=std::allocator<char>,
1>
SequenceT=std::basic_string<char,std::char_traits<char>,std::allocator<char>>,
1> Range1T=const char *,
1>
Range2T=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
1> ]
1>
D:\work\boost\boost/date_time/time_facet.hpp(239) :
while compiling class template member function
'std::ostreambuf_iterator<_Elem,_Traits>
boost::date_time::time_facet<time_type,CharT>::put(OutItrT,std::ios_base
&,char,const time_type &) const'
1> with
1> [
1> _Elem=char,
1> _Traits=std::char_traits<char>,
1> time_type=boost::local_time::local_date_time,
1> CharT=char,
1>
OutItrT=std::ostreambuf_iterator<char,std::char_traits<char>>
1> ]
1> .\HttpService.cpp(50) : see reference to
class template instantiation
'boost::date_time::time_facet<time_type,CharT>' being
compiled
1> with
1> [
1> time_type=boost::local_time::local_date_time,
1> CharT=char
1> ]
1>D:\work\boost\boost/range/const_iterator.hpp(37) :
error C2039: 'const_iterator' : is not a member of
'`global namespace''
1>D:\work\boost\boost/range/const_iterator.hpp(37) :
error C2146: syntax error : missing ';' before
identifier 'type'
1>D:\work\boost\boost/range/const_iterator.hpp(37) :
error C2208: 'boost::type' : no members defined using
this type
1>D:\work\boost\boost/range/const_iterator.hpp(37) :
fatal error C1903: unable to recover from previous
error(s); stopping compilation

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1551784&group_id=7586

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk