boost::serialization Is there any way to get rid of compiler warnings(C4103, ...) on VC++ 2005?
Hi,
I'm compiling the examples from the boost::serialization library with
VC++ 2005, and getting a lot of warnings, they are quite annoying.
How can I get rid of them?
Appreciate any suggestions.
Thanks,
Oleg.
1>------ Rebuild All started: Project: ExampleXmlSave, Configuration:
Release x64 ------
1>Deleting intermediate and output files for project 'ExampleXmlSave',
configuration 'Release|x64'
1>Compiling...
1>stdafx.cpp
1>Compiling...
1>ExampleXmlSave.cpp
1>C:\WORK\STL\boost\boost_1_34_1\boost/config/abi_prefix.hpp(19) :
warning C4103:
'c:\work\stl\boost\boost_1_34_1\boost\config\abi_prefix.hpp' : alignment
changed after including header, may be due to missing #pragma pack(pop)
1>C:\WORK\STL\boost\boost_1_34_1\boost/archive/detail/abi_prefix.hpp(11)
: warning C4103:
'c:\work\stl\boost\boost_1_34_1\boost\archive\detail\abi_prefix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
1>C:\WORK\STL\boost\boost_1_34_1\boost/archive/basic_text_oprimitive.hpp
(54) : warning C4103:
'c:\work\stl\boost\boost_1_34_1\boost\archive\basic_text_oprimitive.hpp'
: alignment changed after including header, may be due to missing
#pragma pack(pop)
...
1>C:\WORK\STL\boost\boost_1_34_1\boost/serialization/collections_save_im
p.hpp(38) : warning C4267: 'initializing' : conversion from 'size_t' to
'unsigned int', possible loss of data
1>
C:\WORK\STL\boost\boost_1_34_1\boost/serialization/list.hpp(39) : see
reference to function template instantiation 'void
boost::serialization::stl::save_collection
participants (1)
-
Oleg Udovenko