Boost logo

Boost Users :

From: Oleg Udovenko (oleg_at_[hidden])
Date: 2007-10-23 13:09:55


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<Archive,std::list<_Ty>>(Archi
ve &,const Container &)' being compiled

1> with

1> [

1> Archive=boost::archive::xml_oarchive,

1> _Ty=std::pair<bus_schedule::trip_info,bus_route *>,

1>
Container=std::list<std::pair<bus_schedule::trip_info,bus_route *>>

1> ]

1>
C:\WORK\STL\boost\boost_1_34_1\boost/serialization/split_free.hpp(45) :
see reference to function template instantiation 'void
boost::serialization::save<Archive,std::pair<_Ty1,_Ty2>,std::allocator<_
Ty>>(Archive &,const std::list<_Ty> &,const unsigned int)' being
compiled

1> with

1> [

1> Archive=boost::archive::xml_oarchive,

1> _Ty1=bus_schedule::trip_info,

1> _Ty2=bus_route *,

1> _Ty=std::pair<bus_schedule::trip_info,bus_route *>

1> ]

 

...

1>Linking...

1> Creating library
C:\WORK\STL\TST\ExampleXmlSave\x64\Release\ExampleXmlSave.lib and object
C:\WORK\STL\TST\ExampleXmlSave\x64\Release\ExampleXmlSave.exp

1>Generating code

1>Finished generating code

1>Embedding manifest...

1>Build log was saved at
"file://c:\WORK\STL\TST\ExampleXmlSave\ExampleXmlSave\x64\Release\BuildL
og.htm"

1>ExampleXmlSave - 0 error(s), 68 warning(s)

========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net