Bugs item #1693865, was opened at 2007-04-03 14:48 Message generated for change (Comment added) made by hkaiser You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1693865&gro up_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: wave Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Farid (farid_zaripov) Assigned to: Hartmut Kaiser (hkaiser) Summary: undeclared memcpy() in flex_string.hpp Initial Comment: I have been working on the Apache C++ Standard Library project (STDCXX): http://incubator.apache.org/stdcxx/ I've trying to compile the boost library with stdcxx. The details can be found here: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200704.mbo x/% [EMAIL PROTECTED] Boost version: 1.33.1 STDCXX version: 4.2 I've got the error in boost/wave/util/flex_string.hpp: D:\_Libs\boost_1_33_1\boost/wave/util/flex_string.hpp(126) : error C3861: 'memcpy': identifier not found D:\_Libs\boost_1_33_1\boost/wave/util/flex_string.hpp(654) : see reference to function template instantiation 'Pod *boost::wave::util::flex_string_details::pod_copy<char>(const Pod *,const Pod *,Pod *)' being compiled with [ Pod=char ] D:\_Libs\boost_1_33_1\boost/wave/util/flex_string.hpp(643) : while compiling class template member function 'void boost::wave::util::AllocatorStringStorage<E>::reserve(unsigned int)' with [ E=char ] D:\_Libs\boost_1_33_1\boost/wave/util/flex_string.hpp(1154) : see reference to class template instantiation 'boost::wave::util::AllocatorStringStorage<E>' being compiled with [ E=char ] CALL "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\vcvars32.BAT" >nul "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\cl" /Zm800 -nologo /EHsc -c -D_RWSTDDEBUG /Z7 /Od /Ob0 /EHsc /GR /MTd /Zc:forScope /Zc:wchar_t -I"bin\boost\libs\wave\build" -I"D:\_Libs\boost_1_33_1" -I"D:\_Projects\stdcxx_working\include" -I"D:\_Projects\stdcxx_working\include\ansi" -I"D:\_Projects\stdcxx_working\build\msvc-8.0\15s\include" -I"D:\_Libs\boost_1_33_1" -Fo"bin\boost\libs\wave\build\libboost_wave.lib\vc-8_0-stdcxx\debug\runt ime-link-static\threading-multi\instantiate_cpp_exprgrammar.obj" -Tp"D:\_Libs\boost_1_33_1\libs\wave\build\../src/instantiate_cpp_exprgra mmar.cpp" I propose to #include <string.h> in flex_string.hpp file to declare memcpy(). ---------------------------------------------------------------------- >Comment By: Hartmut Kaiser (hkaiser) Date: 2007-04-03 16:32 Message: Logged In: YES user_id=353975 Originator: NO Fixed in Boost CVS::HEAD. ---------------------------------------------------------------------- Comment By: Hartmut Kaiser (hkaiser) Date: 2007-04-03 16:32 Message: Logged In: YES user_id=353975 Originator: NO Thank you for submitting a bug report to BOOST ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1693865&gro up_id=7586
