Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-11-14 15:53:10

Bugs item #1596577, was opened at 2006-11-14 15:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: build
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: e4lam (e4lam)
Assigned to: Nobody/Anonymous (nobody)
Summary: Warnings on MSVC 2005

Initial Comment:
I've found that when using Boost on Microsoft Visual Studio C++ 2005, I get warning C4103 when
including any boost header which end up including:

(eg. iostreams/filter/zlib.hpp)

or which manually performs a

(eg. regex/v4/regex_traits_defaults.hpp).

An explanation for the warning can be found here:

What is happening is that config/abi/msvc_{prefix,suffix}.hpp performs "#pragma
pack(push,8)" (in msvc_prefix.hpp) and then performs a "#pragma pack(pop)" (in msvc_suffix.hpp). This leads the compiler to think that the packing alignment has erroneously changed, generating unnecessary warnings.


You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at