Boost logo

Boost Users :

From: cowwoc (cowwoc_at_[hidden])
Date: 2008-08-15 02:32:31


When I compile my code against Boost 1.36 I get:

3>C:\Program Files\boost_1_36_0\boost/config/abi_prefix.hpp(19) : warning
C4103: 'c:\program files\boost_1_36_0\boost\config\abi_prefix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>C:\Program Files\boost_1_36_0\boost/thread/exceptions.hpp(22) : warning
C4103: 'c:\program files\boost_1_36_0\boost\thread\exceptions.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>C:\Program Files\boost_1_36_0\boost/config/abi_suffix.hpp(20) : warning
C4103: 'c:\program files\boost_1_36_0\boost\config\abi_suffix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>C:\Program Files\boost_1_36_0\boost/thread/exceptions.hpp(108) : warning
C4103: 'c:\program files\boost_1_36_0\boost\thread\exceptions.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>C:\Program Files\boost_1_36_0\boost/config/abi_prefix.hpp(19) : warning
C4103: 'c:\program files\boost_1_36_0\boost\config\abi_prefix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>c:\program
files\boost_1_36_0\boost\thread\win32\thread_primitives.hpp(151) : warning
C4103: 'c:\program
files\boost_1_36_0\boost\thread\win32\thread_primitives.hpp' : alignment
changed after including header, may be due to missing #pragma pack(pop)
3>C:\Program Files\boost_1_36_0\boost/config/abi_suffix.hpp(20) : warning
C4103: 'c:\program files\boost_1_36_0\boost\config\abi_suffix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>c:\program
files\boost_1_36_0\boost\thread\win32\thread_primitives.hpp(396) : warning
C4103: 'c:\program
files\boost_1_36_0\boost\thread\win32\thread_primitives.hpp' : alignment
changed after including header, may be due to missing #pragma pack(pop)
3>C:\Program Files\boost_1_36_0\boost/config/abi_prefix.hpp(19) : warning
C4103: 'c:\program files\boost_1_36_0\boost\config\abi_prefix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>c:\program files\boost_1_36_0\boost\thread\win32\interlocked_read.hpp(14)
: warning C4103: 'c:\program
files\boost_1_36_0\boost\thread\win32\interlocked_read.hpp' : alignment
changed after including header, may be due to missing #pragma pack(pop)
3>C:\Program Files\boost_1_36_0\boost/config/abi_suffix.hpp(20) : warning
C4103: 'c:\program files\boost_1_36_0\boost\config\abi_suffix.hpp' :
alignment changed after including header, may be due to missing #pragma
pack(pop)
3>c:\program files\boost_1_36_0\boost\thread\win32\interlocked_read.hpp(78)
: warning C4103: 'c:\program
files\boost_1_36_0\boost\thread\win32\interlocked_read.hpp' : alignment
changed after including header, may be due to missing #pragma pack(pop)

I don't recall seeing this in 1.35 and I compiled against it two days ago. I
am compiling under Visual Studio 2008, in x64 mode. How do I fix these
warnings?

Thank you,
Gili

-- 
View this message in context: http://www.nabble.com/New-compiler-warnings-triggered-by-Boost-1.36-tp18994472p18994472.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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