"see reference to class template instantiation '...' being compiled" was shown
Hello, When I executed b2.exe, a message as "see reference to class template instantiation '...' being compiled" was shown. Were any libraries required? My environment is - Windows 8.1 64 bit (version 6.3 build 9600) (ja-JP) - Microsoft Visual Studio Express 2013 for Windows Desktop (version 12.0.30723.00 Update 3) (ja-JP) The reply of b2.exe is as follows. compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\xml_grammar.obj xml_grammar.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2798) : warning C4996: 'std::_Equal1': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2783) : see declaration of 'std::_Equal1' c:\users\kaosun.earthgroove\downloads\temp\boost_1_58_0\libs\serialization\src\basic_xml_grammar.ipp(452) : see reference to class template instantiation 'bool std::equal<std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,const char*>(_InIt1,_InIt1,_InIt2)' being compiled with [ _InIt1=std::_String_iterator<std::_String_val<std::_Simple_types<char>>> , _InIt2=const char * ] c:\users\kaosun.earthgroove\downloads\temp\boost_1_58_0\libs\serialization\src\basic_xml_grammar.ipp(438): while compiling class template member function 'void boost::archive::basic_xml_grammar<char>::init(std::basic_istream<char,std::char_traits<char>> &)' libs\serialization\src\xml_grammar.cpp(51) : see reference to class template instantiation 'boost::archive::basic_xml_grammar<char>' being compiled : : Snip : : compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\xml_iarchive.obj xml_iarchive.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2798) : warning C4996: 'std::_Equal1': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2783) : see declaration of 'std::_Equal1' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/basic_xml_iarchive.ipp(67) : see reference to class template instantiation 'bool std::equal<std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,const char*>(_InIt1,_InIt1,_InIt2)' being compiled with [ _InIt1=std::_String_iterator<std::_String_val<std::_Simple_types<char>>> , _InIt2=const char * ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/basic_xml_iarchive.ipp(45): while compiling class template member function 'void boost::archive::basic_xml_iarchive<Archive>::load_end(const char *)' with [ Archive=boost::archive::xml_iarchive ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/xml_iarchive.hpp(50) : see reference to class template instantiation 'boost::archive::basic_xml_iarchive<Archive>' being compiled with [ Archive=boost::archive::xml_iarchive ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/xml_iarchive.hpp(132) : see reference to class template instantiation 'boost::archive::xml_iarchive_impl<boost::archive::xml_iarchive>' being compiled compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\xml_oarchive.obj xml_oarchive.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2132) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2113) : see declaration of 'std::_Copy_impl' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/xml_oarchive_impl.ipp(84) : see reference to class template instantiation '_OutIt std::copy<boost::archive::iterators::xml_escape<const char *>,boost::archive::iterators::ostream_iterator<char>>(_InIt,_InIt,_OutIt)' being compiled with [ _OutIt=boost::archive::iterators::ostream_iterator<char> , _InIt=boost::archive::iterators::xml_escape<const char *> ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/xml_oarchive_impl.ipp(74): while compiling class template member function 'void boost::archive::xml_oarchive_impl<boost::archive::xml_oarchive>::save(const std::string &)' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/xml_oarchive.hpp(123) : see reference to class template instantiation 'boost::archive::xml_oarchive_impl<boost::archive::xml_oarchive>' being compiled C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2113) : see declaration of 'std::_Copy_impl' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/iterators/mb_from_wchar.hpp(91) : warning C4996: 'wctomb': This function or variable may be unsafe. Consider using wctomb_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdlib.h(567) : see declaration of 'wctomb' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/iterators/mb_from_wchar.hpp(85): while compiling class template member function 'void boost::archive::iterators::mb_from_wchar<boost::archive::iterators::xml_escape<InputIterator>>::fill(void)' with [ InputIterator=const wchar_t * ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/iterators/mb_from_wchar.hpp(65) : see reference to class template instantiation 'void boost::archive::iterators::mb_from_wchar<boost::archive::iterators::xml_escape<InputIterator>>::fill(void)' being compiled with [ InputIterator=const wchar_t * ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/xml_oarchive_impl.ipp(45) : see reference to class template instantiation 'boost::archive::iterators::mb_from_wchar<boost::archive::iterators::xml_escape<InputIterator>>' being compiled with [ InputIterator=const wchar_t * ] : : Snip : : compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\basic_text_woprimitive.obj basic_text_woprimitive.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2132) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2113) : see declaration of 'std::_Copy_impl' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/basic_text_oprimitive.ipp(67) : see reference to class template instantiation '_OutIt std::copy<boost::archive::iterators::insert_linebreaks<boost::archive::iterators::base64_from_binary<boost::archive::iterators::transform_width<const char *,6,8,char>,char>,76,const char>,boost::archive::iterators::ostream_iterator<CharType>>(_InIt,_InIt,_OutIt)' being compiled with [ _OutIt=boost::archive::iterators::ostream_iterator<CharType> , _InIt=boost::archive::iterators::insert_linebreaks<boost::archive::iterators::base64_from_binary<boost::archive::iterators::transform_width<const char *,6,8,char>,char>,76,const char> ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/basic_text_oprimitive.ipp(33): while compiling class template member function 'void boost::archive::basic_text_oprimitive<std::wostream>::save_binary(const void *,size_t)' libs\serialization\src\basic_text_woprimitive.cpp(30) : see reference to class template instantiation 'boost::archive::basic_text_oprimitive<std::wostream>' being compiled compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\text_wiarchive.obj text_wiarchive.cpp compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\text_woarchive.obj text_woarchive.cpp compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\utf8_codecvt_facet.obj utf8_codecvt_facet.cpp compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\xml_wgrammar.obj xml_wgrammar.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2798) : warning C4996: 'std::_Equal1': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2783) : see declaration of 'std::_Equal1' c:\users\kaosun.earthgroove\downloads\temp\boost_1_58_0\libs\serialization\src\basic_xml_grammar.ipp(452) : see reference to class template instantiation 'bool std::equal<std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,const char*>(_InIt1,_InIt1,_InIt2)' being compiled with [ _InIt1=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>> , _InIt2=const char * ] c:\users\kaosun.earthgroove\downloads\temp\boost_1_58_0\libs\serialization\src\basic_xml_grammar.ipp(438): while compiling class template member function 'void boost::archive::basic_xml_grammar<wchar_t>::init(std::basic_istream<wchar_t,std::char_traits<wchar_t>> &)' libs\serialization\src\xml_wgrammar.cpp(51) : see reference to class template instantiation 'boost::archive::basic_xml_grammar<wchar_t>' being compiled compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\xml_wiarchive.obj xml_wiarchive.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2132) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2113) : see declaration of 'std::_Copy_impl' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/xml_wiarchive_impl.ipp(61) : see reference to class template instantiation '_OutIt std::copy<boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>>,char*>(_InIt,_InIt,_OutIt)' being compiled with [ _OutIt=char * , _InIt=boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>> ] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2798) : warning C4996: 'std::_Equal1': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2783) : see declaration of 'std::_Equal1' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/basic_xml_iarchive.ipp(67) : see reference to class template instantiation 'bool std::equal<std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,const char*>(_InIt1,_InIt1,_InIt2)' being compiled with [ _InIt1=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>> , _InIt2=const char * ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/basic_xml_iarchive.ipp(45): while compiling class template member function 'void boost::archive::basic_xml_iarchive<Archive>::load_end(const char *)' with [ Archive=boost::archive::xml_wiarchive ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/xml_wiarchive.hpp(64) : see reference to class template instantiation 'boost::archive::basic_xml_iarchive<Archive>' being compiled with [ Archive=boost::archive::xml_wiarchive ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/xml_wiarchive.hpp(146) : see reference to class template instantiation 'boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>' being compiled C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/iterators/mb_from_wchar.hpp(91) : warning C4996: 'wctomb': This function or variable may be unsafe. Consider using wctomb_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdlib.h(567) : see declaration of 'wctomb' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/iterators/mb_from_wchar.hpp(85): while compiling class template member function 'void boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>>::fill(void)' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/iterators/mb_from_wchar.hpp(65) : see reference to class template instantiation 'void boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>>::fill(void)' being compiled C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/xml_wiarchive_impl.ipp(56) : see reference to class template instantiation 'boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>>' being compiled compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\debug\link-static\runtime-link-static\threading-multi\xml_woarchive.obj xml_woarchive.cpp C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2132) : warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2113) : see declaration of 'std::_Copy_impl' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/xml_woarchive_impl.ipp(89) : see reference to class template instantiation '_OutIt std::copy<boost::archive::iterators::xml_escape<const wchar_t *>,boost::archive::iterators::ostream_iterator<wchar_t>>(_InIt,_InIt,_OutIt)' being compiled with [ _OutIt=boost::archive::iterators::ostream_iterator<wchar_t> , _InIt=boost::archive::iterators::xml_escape<const wchar_t *> ] C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/impl/xml_woarchive_impl.ipp(75): while compiling class template member function 'void boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::save(const std::wstring &)' C:\Users\kaosun.EARTHGROOVE\Downloads\temp\boost_1_58_0\boost/archive/xml_woarchive.hpp(140) : see reference to class template instantiation 'boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>' being compiled C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xutility(2113) : see declaration of 'std::_Copy_impl' : : Snip : : compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\release\link-static\runtime-link-static\threading-multi\xml_oarchive.obj xml_oarchive.cpp .\boost/archive/iterators/mb_from_wchar.hpp(91) : warning C4996: 'wctomb': This function or variable may be unsafe. Consider using wctomb_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdlib.h(567) : see declaration of 'wctomb' .\boost/archive/iterators/mb_from_wchar.hpp(85): while compiling class template member function 'void boost::archive::iterators::mb_from_wchar<boost::archive::iterators::xml_escape<InputIterator>>::fill(void)' with [ InputIterator=const wchar_t * ] .\boost/archive/iterators/mb_from_wchar.hpp(65) : see reference to class template instantiation 'void boost::archive::iterators::mb_from_wchar<boost::archive::iterators::xml_escape<InputIterator>>::fill(void)' being compiled with [ InputIterator=const wchar_t * ] .\boost/archive/impl/xml_oarchive_impl.ipp(45) : see reference to class template instantiation 'boost::archive::iterators::mb_from_wchar<boost::archive::iterators::xml_escape<InputIterator>>' being compiled with [ InputIterator=const wchar_t * ] .\boost/archive/impl/xml_oarchive_impl.ipp(58) : see reference to class template instantiation 'void boost::archive::save_iterator<const _Elem*>(std::ostream &,InputIterator,InputIterator)' being compiled with [ _Elem=wchar_t , InputIterator=const wchar_t * ] .\boost/archive/impl/xml_oarchive_impl.ipp(54): while compiling class template member function 'void boost::archive::xml_oarchive_impl<boost::archive::xml_oarchive>::save(const std::wstring &)' .\boost/archive/xml_oarchive.hpp(123) : see reference to class template instantiation 'boost::archive::xml_oarchive_impl<boost::archive::xml_oarchive>' being compiled : : Snip : : compile-c-c++ bin.v2\libs\serialization\build\msvc-12.0\release\link-static\runtime-link-static\threading-multi\xml_wiarchive.obj xml_wiarchive.cpp .\boost/archive/iterators/mb_from_wchar.hpp(91) : warning C4996: 'wctomb': This function or variable may be unsafe. Consider using wctomb_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdlib.h(567) : see declaration of 'wctomb' .\boost/archive/iterators/mb_from_wchar.hpp(85): while compiling class template member function 'void boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>>::fill(void)' .\boost/archive/iterators/mb_from_wchar.hpp(65) : see reference to class template instantiation 'void boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>>::fill(void)' being compiled .\boost/archive/impl/xml_wiarchive_impl.ipp(56) : see reference to class template instantiation 'boost::archive::iterators::mb_from_wchar<std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>>' being compiled
Mr. Steven Watanabe, Thank you for your answer.
Those are warnings, not errors.
I'm relieved to hear that. But I have another issues that is relating to cpp-netlib. I'll ask it to cpp-netlib community. Regards, DJ_Kaosun 2015-05-19 12:15 GMT+09:00 Steven Watanabe <watanabesj@gmail.com>:
AMDG
On 05/18/2015 07:29 PM, Kaosun DJ wrote:
When I executed b2.exe, a message as "see reference to class template instantiation '...' being compiled" was shown. Were any libraries
required?
Those are warnings, not errors.
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Kaosun DJ
-
Steven Watanabe