I don't know if these functions are really deprecated, we could just suppress warning C4996 globally
Index: config.h.cmake =================================================================== --- config.h.cmake (revision 15915) +++ config.h.cmake (working copy) @@ -171,6 +171,7 @@ #ifdef _MSC_VER #pragma warning( disable : 4800 ) //: forcing value to bool 'true' or 'false' (performance warning) +#pragma warning( disable : 4996 ) //: was declared deprecated #ifdef HAVE_CHMOD typedef int mode_t; #endif or in the file only with #ifdef and #pragma. Abdelrazak Younes wrote: > > lyxlex_pimpl.C > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/chainbuf.hpp(111) > : warning C4996: 'std::basic_streambuf<_Elem,_Traits>::xsgetn' was > declared deprecated > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > C:\Program Files\Microsoft Visual Studio > 8\VC\include\streambuf(324) : see declaration of > 'std::basic_streambuf<_Elem,_Traits>::xsgetn' > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > > D:\devel\lyx\trunk\boost\boost/iostreams/filtering_streambuf.hpp(54) : > see reference to class template instantiation > 'boost::iostreams::detail::chainbuf<Chain,Mode,Access>' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Mode=boost::iostreams::input, > Access=boost::iostreams::public_ > ] > d:\devel\lyx\trunk\src\lyxlex_pimpl.h(73) : see reference to > class template instantiation > 'boost::iostreams::filtering_streambuf<Mode>' being compiled > with > [ > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/chainbuf.hpp(58) > : warning C4996: 'std::basic_streambuf<_Elem,_Traits>::xsgetn' was > declared deprecated > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > C:\Program Files\Microsoft Visual Studio > 8\VC\include\streambuf(324) : see declaration of > 'std::basic_streambuf<_Elem,_Traits>::xsgetn' > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/chainbuf.hpp(58) > : while compiling class template member function 'std::streamsize > boost::iostreams::detail::chainbuf<Chain,Mode,Access>::xsgetn(char > *,std::streamsize)' > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Mode=boost::iostreams::input, > Access=boost::iostreams::public_ > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/filtering_streambuf.hpp(54) : > see reference to class template instantiation > 'boost::iostreams::detail::chainbuf<Chain,Mode,Access>' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Mode=boost::iostreams::input, > Access=boost::iostreams::public_ > ] > d:\devel\lyx\trunk\src\lyxlex_pimpl.h(73) : see reference to > class template instantiation > 'boost::iostreams::filtering_streambuf<Mode>' being compiled > with > [ > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(241) > : warning C4996: 'std::char_traits<char>::move' was declared deprecated > C:\Program Files\Microsoft Visual Studio > 8\VC\include\iosfwd(470) : see declaration of > 'std::char_traits<char>::move' > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(230) > : while compiling class template member function 'int > boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>::underflow(void)' > > with > [ > > T=boost::iostreams::basic_null_device<char,boost::iostreams::input>, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::detail::io_mode_impl<1>::type > ] > D:\devel\lyx\trunk\boost\boost/iostreams/stream_buffer.hpp(64) : > see reference to class template instantiation > 'boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>' being > compiled > with > [ > > T=boost::iostreams::basic_null_device<char,boost::iostreams::input>, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::detail::io_mode_impl<1>::type > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(302) : see > reference to class template instantiation > 'boost::iostreams::stream_buffer<T>' being compiled > with > [ > > T=boost::iostreams::basic_null_device<char,boost::iostreams::input> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(300) : while > compiling class template member function 'void > boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>::chain_impl::close(void)' > > with > [ > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(256) : see > reference to class template instantiation > 'boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>::chain_impl' > being compiled > with > [ > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(256) : while > compiling class template member function 'const std::list<_Ty> > &boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>::list(void) > const' > with > [ > _Ty=boost::iostreams::detail::linked_streambuf<char> *, > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(394) : see > reference to class template instantiation > 'boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>' being > compiled > with > [ > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/chainbuf.hpp(38) > : see reference to class template instantiation > 'boost::iostreams::chain<Mode,Ch,Tr,Alloc>' being compiled > with > [ > Mode=boost::iostreams::input, > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/device/file.hpp(147) : warning > C4996: 'std::basic_streambuf<_Elem,_Traits>::sgetn' was declared deprecated > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > C:\Program Files\Microsoft Visual Studio > 8\VC\include\streambuf(122) : see declaration of > 'std::basic_streambuf<_Elem,_Traits>::sgetn' > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > D:\devel\lyx\trunk\boost\boost/iostreams/device/file.hpp(146) : > while compiling class template member function 'std::streamsize > boost::iostreams::basic_file<Ch>::read(char *,std::streamsize)' > with > [ > Ch=char > ] > D:\devel\lyx\trunk\boost\boost/iostreams/close.hpp(44) : see > reference to function template instantiation 'void > boost::iostreams::detail::close_impl<boost::iostreams::closable_tag>::close<boost::iostreams::basic_file_source<Ch>>(T > &,std::ios_base::openmode)' being compiled > with > [ > Ch=char, > T=boost::iostreams::basic_file_source<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/concept_adapter.hpp(151) > : see reference to function template instantiation 'void > boost::iostreams::close<Device>(T &,std::ios_base::openmode)' being > compiled > with > [ > Device=boost::iostreams::basic_file_source<char>, > T=boost::iostreams::basic_file_source<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/concept_adapter.hpp(99) > : see reference to function template instantiation 'void > boost::iostreams::detail::device_wrapper_impl<boost::iostreams::any_tag>::close<boost::iostreams::basic_file_source<Ch>,Device>(boost::iostreams::basic_file_source<Ch> > &,Dummy *,std::ios_base::openmode)' being compiled > with > [ > Ch=char, > Device=boost::iostreams::detail::linked_streambuf<char>, > Dummy=boost::iostreams::detail::linked_streambuf<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(357) > : see reference to function template instantiation 'void > boost::iostreams::detail::concept_adapter<T>::close<boost::iostreams::detail::linked_streambuf<Ch>>(std::ios_base::openmode,Device > *)' being compiled > with > [ > T=policy_type, > Ch=char, > Device=boost::iostreams::detail::linked_streambuf<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(355) > : while compiling class template member function 'void > boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>::close(std::ios_base::openmode)' > > with > [ > T=policy_type, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/stream_buffer.hpp(64) : > see reference to class template instantiation > 'boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>' being > compiled > with > [ > T=policy_type, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(246) : see > reference to class template instantiation > 'boost::iostreams::stream_buffer<T,Tr,Alloc,Mode>' being compiled > with > [ > T=policy_type, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(207) : see > reference to function template instantiation 'void > boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>::push_impl<T>(const > T &,int,int)' being compiled > with > [ > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input, > T=boost::iostreams::basic_file_source<char> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(464) : see > reference to function template instantiation 'void > boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>::push<T>(const > T &,int,int,void *)' being compiled > with > [ > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input, > T=boost::iostreams::basic_file_source<char> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(453) : see > reference to function template instantiation 'void > boost::iostreams::detail::chain_client<Chain>::push_impl<T>(const T > &,int,int)' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > T=boost::iostreams::basic_file_source<char> > ] > ..\..\..\src\lyxlex_pimpl.C(161) : see reference to function > template instantiation 'void > boost::iostreams::detail::chain_client<Chain>::push<boost::iostreams::basic_file_source<Ch>>(const > T &,int,int,void *)' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > T=boost::iostreams::basic_file_source<char> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/filter/symmetric.hpp(224) : > warning C4996: 'std::char_traits<char>::move' was declared deprecated > C:\Program Files\Microsoft Visual Studio > 8\VC\include\iosfwd(470) : see declaration of > 'std::char_traits<char>::move' > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > > D:\devel\lyx\trunk\boost\boost/iostreams/filter/symmetric.hpp(211) : see > reference to function template instantiation 'bool > boost::iostreams::symmetric_filter<SymmetricFilter,Alloc>::flush<Sink>(Sink > &,boost::mpl::true_)' being compiled > with > [ > > SymmetricFilter=boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char>>, > > Alloc=std::allocator<char>, > > Sink=boost::iostreams::non_blocking_adapter<boost::iostreams::detail::linked_streambuf<char>> > > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/filter/symmetric.hpp(173) : see > reference to function template instantiation 'bool > boost::iostreams::symmetric_filter<SymmetricFilter,Alloc>::flush<Sink>(Sink > &)' being compiled > with > [ > > SymmetricFilter=boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char>>, > > Alloc=std::allocator<char>, > > Sink=boost::iostreams::non_blocking_adapter<boost::iostreams::detail::linked_streambuf<char>> > > ] > D:\devel\lyx\trunk\boost\boost/iostreams/filter/gzip.hpp(338) : > see reference to function template instantiation 'void > boost::iostreams::symmetric_filter<SymmetricFilter,Alloc>::close<Source>(Sink > &,std::ios_base::openmode)' being compiled > with > [ > > SymmetricFilter=boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char>>, > > Alloc=std::allocator<char>, > > Source=boost::iostreams::non_blocking_adapter<boost::iostreams::detail::linked_streambuf<char>>, > > > Sink=boost::iostreams::non_blocking_adapter<boost::iostreams::detail::linked_streambuf<char>> > > ] > D:\devel\lyx\trunk\boost\boost/iostreams/close.hpp(120) : see > reference to function template instantiation 'void > boost::iostreams::basic_gzip_decompressor<>::close<boost::iostreams::non_blocking_adapter<Device>>(Source > &)' being compiled > with > [ > Device=boost::iostreams::detail::linked_streambuf<char>, > > Source=boost::iostreams::non_blocking_adapter<boost::iostreams::detail::linked_streambuf<char>> > > ] > D:\devel\lyx\trunk\boost\boost/iostreams/close.hpp(48) : see > reference to function template instantiation 'void > boost::iostreams::detail::close_impl<boost::iostreams::closable_tag>::close<boost::iostreams::basic_gzip_decompressor<>,Sink>(T > &,Sink &,std::ios_base::openmode)' being compiled > with > [ > Sink=boost::iostreams::detail::linked_streambuf<char>, > T=boost::iostreams::basic_gzip_decompressor<> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/concept_adapter.hpp(233) > : see reference to function template instantiation 'void > boost::iostreams::close<Filter,Device>(T &,Sink > &,std::ios_base::openmode)' being compiled > with > [ > Filter=boost::iostreams::basic_gzip_decompressor<>, > Device=boost::iostreams::detail::linked_streambuf<char>, > T=boost::iostreams::basic_gzip_decompressor<>, > Sink=boost::iostreams::detail::linked_streambuf<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/concept_adapter.hpp(99) > : see reference to function template instantiation 'void > boost::iostreams::detail::flt_wrapper_impl<boost::iostreams::any_tag>::close<boost::iostreams::basic_gzip_decompressor<>,Device>(Filter > &,Device *,std::ios_base::openmode)' being compiled > with > [ > Device=boost::iostreams::detail::linked_streambuf<char>, > Filter=boost::iostreams::basic_gzip_decompressor<> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(357) > : see reference to function template instantiation 'void > boost::iostreams::detail::concept_adapter<T>::close<boost::iostreams::detail::linked_streambuf<Ch>>(std::ios_base::openmode,Device > *)' being compiled > with > [ > T=policy_type, > Ch=char, > Device=boost::iostreams::detail::linked_streambuf<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(355) > : while compiling class template member function 'void > boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>::close(std::ios_base::openmode)' > > with > [ > T=policy_type, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/stream_buffer.hpp(64) : > see reference to class template instantiation > 'boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>' being > compiled > with > [ > T=policy_type, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(246) : see > reference to class template instantiation > 'boost::iostreams::stream_buffer<T,Tr,Alloc,Mode>' being compiled > with > [ > T=policy_type, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(207) : see > reference to function template instantiation 'void > boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>::push_impl<T>(const > T &,int,int)' being compiled > with > [ > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input, > T=boost::iostreams::basic_gzip_decompressor<> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(464) : see > reference to function template instantiation 'void > boost::iostreams::detail::chain_base<Self,Ch,Tr,Alloc,Mode>::push<T>(const > T &,int,int,void *)' being compiled > with > [ > > Self=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input, > T=boost::iostreams::basic_gzip_decompressor<> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/chain.hpp(453) : see > reference to function template instantiation 'void > boost::iostreams::detail::chain_client<Chain>::push_impl<T>(const T > &,int,int)' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > T=boost::iostreams::basic_gzip_decompressor<> > ] > ..\..\..\src\lyxlex_pimpl.C(160) : see reference to function > template instantiation 'void > boost::iostreams::detail::chain_client<Chain>::push<boost::iostreams::basic_gzip_decompressor<>>(const > T &,int,int,void *)' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > T=boost::iostreams::basic_gzip_decompressor<> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/read.hpp(153) : warning C4996: > 'std::basic_streambuf<_Elem,_Traits>::sgetn' was declared deprecated > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > C:\Program Files\Microsoft Visual Studio > 8\VC\include\streambuf(122) : see declaration of > 'std::basic_streambuf<_Elem,_Traits>::sgetn' > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > D:\devel\lyx\trunk\boost\boost/iostreams/read.hpp(51) : see > reference to function template instantiation 'std::streamsize > boost::iostreams::detail::read_device_impl<boost::iostreams::streambuf_tag>::read<boost::iostreams::detail::linked_streambuf<Ch>>(T > &,char *,std::streamsize)' being compiled > with > [ > Ch=char, > T=boost::iostreams::detail::linked_streambuf<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/filter/symmetric.hpp(195) : see > reference to function template instantiation 'std::streamsize > boost::iostreams::read<Source>(T &,char *,std::streamsize)' being compiled > with > [ > Source=boost::iostreams::detail::linked_streambuf<char>, > T=boost::iostreams::detail::linked_streambuf<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/filter/symmetric.hpp(132) : see > reference to function template instantiation 'int > boost::iostreams::symmetric_filter<SymmetricFilter,Alloc>::fill<Source>(Source > &)' being compiled > with > [ > > SymmetricFilter=boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char>>, > > Alloc=std::allocator<char>, > Source=boost::iostreams::detail::linked_streambuf<char> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/filter/gzip.hpp(315) : > see reference to function template instantiation 'std::streamsize > boost::iostreams::symmetric_filter<SymmetricFilter,Alloc>::read<Source>(Source > &,char *,std::streamsize)' being compiled > with > [ > > SymmetricFilter=boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char>>, > > Alloc=std::allocator<char>, > Source=boost::iostreams::detail::linked_streambuf<char> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/read.hpp(213) : see > reference to function template instantiation 'std::streamsize > boost::iostreams::basic_gzip_decompressor<>::read<Source>(Source > &,boost::iostreams::basic_gzip_decompressor<>::char_type > *,std::streamsize)' being compiled > with > [ > Source=boost::iostreams::detail::linked_streambuf<char> > ] > D:\devel\lyx\trunk\boost\boost/iostreams/read.hpp(56) : see > reference to function template instantiation 'std::streamsize > boost::iostreams::detail::read_filter_impl<boost::iostreams::multichar_tag>::read<boost::iostreams::basic_gzip_decompressor<>,Source>(T > &,Source &,char *,std::streamsize)' being compiled > with > [ > Source=boost::iostreams::detail::linked_streambuf<char>, > T=boost::iostreams::basic_gzip_decompressor<> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/concept_adapter.hpp(244) > : see reference to function template instantiation 'std::streamsize > boost::iostreams::read<Filter,Source>(T &,Source &,char > *,std::streamsize)' being compiled > with > [ > Filter=boost::iostreams::basic_gzip_decompressor<>, > Source=boost::iostreams::detail::linked_streambuf<char>, > T=boost::iostreams::basic_gzip_decompressor<> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/concept_adapter.hpp(73) > : see reference to function template instantiation 'std::streamsize > boost::iostreams::detail::flt_wrapper_impl<boost::iostreams::input>::read<boost::iostreams::basic_gzip_decompressor<>,Source>(Filter > &,Source *,char *,std::streamsize)' being compiled > with > [ > Source=boost::iostreams::detail::linked_streambuf<char>, > Filter=boost::iostreams::basic_gzip_decompressor<> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(250) > : see reference to function template instantiation 'std::streamsize > boost::iostreams::detail::concept_adapter<T>::read<boost::iostreams::detail::linked_streambuf<Ch>>(char > *,std::streamsize,Source *)' being compiled > with > [ > T=policy_type, > Ch=char, > Source=boost::iostreams::detail::linked_streambuf<char> > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/indirect_streambuf.hpp(230) > : while compiling class template member function 'int > boost::iostreams::detail::indirect_streambuf<T,Tr,Alloc,Mode>::underflow(void)' > > with > [ > T=policy_type, > Tr=std::char_traits<char>, > Alloc=std::allocator<char>, > Mode=boost::iostreams::input > ] > C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2282) : > warning C4996: 'std::_Copy_opt' was declared deprecated > C:\Program Files\Microsoft Visual Studio > 8\VC\include\xutility(2270) : see declaration of 'std::_Copy_opt' > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/range_adapter.hpp(132) > : see reference to function template instantiation '_OutIt > std::copy<Iter,Ch*>(_InIt,_InIt,_OutIt)' being compiled > with > [ > _OutIt=char *, > > Iter=std::_String_iterator<char,std::char_traits<char>,std::allocator<char>>, > > Ch=char, > > _InIt=std::_String_iterator<char,std::char_traits<char>,std::allocator<char>> > > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/range_adapter.hpp(83) > : see reference to function template instantiation 'std::streamsize > boost::iostreams::detail::range_adapter_impl<std::random_access_iterator_tag>::read<std::_String_iterator<_Elem,_Traits,_Alloc>,char>(Iter > &,Iter &,Ch *,std::streamsize)' being compiled > with > [ > _Elem=char, > _Traits=std::char_traits<char>, > _Alloc=std::allocator<char>, > > Iter=std::_String_iterator<char,std::char_traits<char>,std::allocator<char>>, > > Ch=char > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/adapter/range_adapter.hpp(83) > : while compiling class template member function 'std::streamsize > boost::iostreams::detail::range_adapter<Mode,Range>::read(char > *,std::streamsize)' > with > [ > Mode=boost::iostreams::input, > Range=std::string > ] > D:\devel\lyx\trunk\boost\boost/iostreams/read.hpp(46) : see > reference to function template instantiation 'int > boost::iostreams::detail::read_device_impl<boost::iostreams::input>::get<boost::iostreams::detail::range_adapter<Mode,Range>>(T > &)' being compiled > with > [ > Mode=boost::iostreams::input, > Range=std::string, > > T=boost::iostreams::detail::range_adapter<boost::iostreams::input,std::string> > > ] > D:\devel\lyx\trunk\boost\boost/iostreams/filter/gzip.hpp(360) : > see reference to function template instantiation 'int > boost::iostreams::get<Source>(T &)' being compiled > with > [ > > Source=boost::iostreams::detail::range_adapter<boost::iostreams::input,std::string>, > > > T=boost::iostreams::detail::range_adapter<boost::iostreams::input,std::string> > > ] > D:\devel\lyx\trunk\boost\boost/iostreams/filter/gzip.hpp(368) : > see reference to function template instantiation 'boost::uint8_t > boost::iostreams::basic_gzip_decompressor<>::read_uint8<Source>(Source > &,int)' being compiled > with > [ > > Source=boost::iostreams::detail::range_adapter<boost::iostreams::input,std::string> > > ] > D:\devel\lyx\trunk\boost\boost/iostreams/filter/gzip.hpp(454) : > see reference to function template instantiation 'boost::uint32_t > boost::iostreams::basic_gzip_decompressor<>::read_uint32<boost::iostreams::detail::range_adapter<Mode,Range>>(Source > &,int)' being compiled > with > [ > Mode=boost::iostreams::input, > Range=std::string, > > Source=boost::iostreams::detail::range_adapter<boost::iostreams::input,std::string> > > ] > D:\devel\lyx\trunk\boost\boost/iostreams/filter/gzip.hpp(325) : > see reference to function template instantiation 'void > boost::iostreams::basic_gzip_decompressor<>::read_footer<boost::iostreams::non_blocking_adapter<Device>>(Source > &)' being compiled > with > [ > Device=boost::iostreams::detail::linked_streambuf<char>, > > Source=boost::iostreams::non_blocking_adapter<boost::iostreams::detail::linked_streambuf<char>> > > ] > lyxlex.C > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/chainbuf.hpp(111) > : warning C4996: 'std::basic_streambuf<_Elem,_Traits>::xsgetn' was > declared deprecated > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > C:\Program Files\Microsoft Visual Studio > 8\VC\include\streambuf(324) : see declaration of > 'std::basic_streambuf<_Elem,_Traits>::xsgetn' > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > > D:\devel\lyx\trunk\boost\boost/iostreams/filtering_streambuf.hpp(54) : > see reference to class template instantiation > 'boost::iostreams::detail::chainbuf<Chain,Mode,Access>' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Mode=boost::iostreams::input, > Access=boost::iostreams::public_ > ] > d:\devel\lyx\trunk\src\lyxlex_pimpl.h(73) : see reference to > class template instantiation > 'boost::iostreams::filtering_streambuf<Mode>' being compiled > with > [ > Mode=boost::iostreams::input > ] > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/chainbuf.hpp(58) > : warning C4996: 'std::basic_streambuf<_Elem,_Traits>::xsgetn' was > declared deprecated > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > C:\Program Files\Microsoft Visual Studio > 8\VC\include\streambuf(324) : see declaration of > 'std::basic_streambuf<_Elem,_Traits>::xsgetn' > with > [ > _Elem=char, > _Traits=std::char_traits<char> > ] > Message: 'You have used a std:: construct that is not safe. See > documentation on how to use the Safe Standard C++ Library' > > D:\devel\lyx\trunk\boost\boost/iostreams/detail/streambuf/chainbuf.hpp(58) > : while compiling class template member function 'std::streamsize > boost::iostreams::detail::chainbuf<Chain,Mode,Access>::xsgetn(char > *,std::streamsize)' > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Mode=boost::iostreams::input, > Access=boost::iostreams::public_ > ] > > D:\devel\lyx\trunk\boost\boost/iostreams/filtering_streambuf.hpp(54) : > see reference to class template instantiation > 'boost::iostreams::detail::chainbuf<Chain,Mode,Access>' being compiled > with > [ > > Chain=boost::iostreams::chain<boost::iostreams::input,char,std::char_traits<char>,std::allocator<char>>, > > Mode=boost::iostreams::input, > Access=boost::iostreams::public_ > ] > d:\devel\lyx\trunk\src\lyxlex_pimpl.h(73) : see reference to > class template instantiation > 'boost::iostreams::filtering_streambuf<Mode>' being compiled > with > [ > Mode=boost::iostreams::input > ] > lyxlength.C > > -- Peter Kümmel