[stlport-bugs] [ stlport-Bugs-1970693 ] stlport svn and boost::format
Brought to you by:
complement
From: SourceForge.net <no...@so...> - 2008-05-24 12:40:30
|
Bugs item #1970693, was opened at 2008-05-23 19:37 Message generated for change (Settings changed) made by adrian_007 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1970693&group_id=146814 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: None Group: None Status: Open >Resolution: None >Priority: 5 Private: No Submitted By: adrian_007 (adrian_007) Assigned to: Nobody/Anonymous (nobody) Summary: stlport svn and boost::format Initial Comment: i have no idea what i'm doing wrong, but i can't make stlport working with boost::format library (recent version). i get one warning when using format function: /***************************************/ W:\Visual Studio Projects\rsxplusplus\trunk\stlport\stlport\stl/_time_facets.c(94) : warning C4244: 'argument' : conversion from 'const wchar_t' to 'char', possible loss of data W:\Visual Studio Projects\rsxplusplus\trunk\stlport\stlport\stl/_time_facets.c(174) : see reference to function template instantiation 'size_t stlp_std::priv::__match<_InIt1,wchar_t,const stlp_std::wstring*>(_InIt &,_InIt &,_NameIt,_NameIt,const stlp_std::ctype<wchar_t> &)' being compiled with [ _InIt1=stlp_std::istreambuf_iterator<wchar_t,stlp_std::char_traits<wchar_t>>, _InIt=stlp_std::istreambuf_iterator<wchar_t,stlp_std::char_traits<wchar_t>>, _NameIt=const stlp_std::wstring * ] W:\Visual Studio Projects\rsxplusplus\trunk\stlport\stlport\stl/_time_facets.c(344) : see reference to function template instantiation 'const char *stlp_std::priv::__get_formatted_time<_InIt,_Ch,stlp_std::priv::_WTime_Info>(_InIt1,_InIt1,const char *,const char *,_Ch *,const _TimeInfo &,const stlp_std::ios_base &,stlp_std::ios_base::iostate &,tm *)' being compiled with [ _InIt=stlp_std::istreambuf_iterator<wchar_t,stlp_std::char_traits<wchar_t>>, _Ch=wchar_t, _InIt1=stlp_std::istreambuf_iterator<wchar_t,stlp_std::char_traits<wchar_t>>, _TimeInfo=stlp_std::priv::_WTime_Info ] W:\Visual Studio Projects\rsxplusplus\trunk\stlport\stlport\stl/_time_facets.c(336) : while compiling class template member function 'stlp_std::istreambuf_iterator<_CharT,_Traits> stlp_std::time_get<_Ch,_InIt>::do_get_time(stlp_std::istreambuf_iterator<_CharT,_Traits>,stlp_std::istreambuf_iterator<_CharT,_Traits>,stlp_std::ios_base &,stlp_std::ios_base::iostate &,tm *) const' with [ _CharT=wchar_t, _Traits=stlp_std::char_traits<wchar_t>, _Ch=wchar_t, _InIt=stlp_std::istreambuf_iterator<wchar_t,stlp_std::char_traits<wchar_t>> ] W:\Visual Studio Projects\rsxplusplus\trunk\stlport\stlport\stl/_locale.h(349) : see reference to class template instantiation 'stlp_std::time_get<_Ch,_InIt>' being compiled with [ _Ch=wchar_t, _InIt=stlp_std::istreambuf_iterator<wchar_t,stlp_std::char_traits<wchar_t>> ] W:\Visual Studio Projects\rsxplusplus\trunk\stlport\stlport\stl/_locale.h(294) : see reference to function template instantiation '_Facet *stlp_std::priv::_UseFacet<_Facet>(const stlp_std::locale &,const _Facet *)' being compiled with [ _Facet=stlp_std::ctype<char> ] W:\Visual Studio Projects\rsxplusplus\trunk\boost\boost/format/parsing.hpp(413) : see reference to function template instantiation 'const _Facet &stlp_std::use_facet<stlp_std::ctype<char>>(const stlp_std::locale &)' being compiled with [ _Facet=stlp_std::ctype<char> ] W:\Visual Studio Projects\rsxplusplus\trunk\boost\boost/format/parsing.hpp(409) : while compiling class template member function 'boost::basic_format<Ch> &boost::basic_format<Ch>::parse(const stlp_std::basic_string<_CharT,_Traits,_Alloc> &)' with [ Ch=char, _CharT=char, _Traits=stlp_std::char_traits<char>, _Alloc=stlp_std::allocator<char> ] W:\Visual Studio Projects\rsxplusplus\trunk\boost\boost/format/format_implementation.hpp(29) : while compiling class template member function 'boost::basic_format<Ch>::basic_format(const Ch *)' with [ Ch=char ] .\rsx\RsxUtil.cpp(333) : see reference to class template instantiation 'boost::basic_format<Ch>' being compiled with [ Ch=char ] /***************************************/ stlport is compiled without any changes in config. enlight me if this is boost or stlport cause. ---------------------------------------------------------------------- Comment By: adrian_007 (adrian_007) Date: 2008-05-24 01:56 Message: Logged In: YES user_id=1816473 Originator: YES ok, some more info. system: windows xp sp2 environment: microsoft visual studio (visual c++) 2005 sp1 boost version: 1.35.0 i compiled and ran some test, eh passed without errors, cppunit failed on 4 tests. i've attached sample project, place stlport into stlport dir and boost into boost dir. i've checked trunk and 5.1.5 against boost 1.35.0, and 5.1.5 is working fine with boost::format while trunk fail. regards. File Added: boost-stlp.7z ---------------------------------------------------------------------- Comment By: Petr Ovtchenkov (complement) Date: 2008-05-23 23:25 Message: Logged In: YES user_id=615813 Originator: NO Report not complete, not reproduceable. See http://stlport.sourceforge.net/BugReport.shtml ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1970693&group_id=146814 |