[Boost-bugs] [ boost-Bugs-1596577 ] Warnings on MSVC 2005

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: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1596577&group_id=7586 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: abi_{prefix,suffix}.hpp (eg. iostreams/filter/zlib.hpp) or which manually performs a #include BOOST_ABI_{PREFIX,SUFFIX} (eg. regex/v4/regex_traits_defaults.hpp). An explanation for the warning can be found here: http://windowssdk.msdn.microsoft.com/en-us/library/t4d0762d.aspx 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: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1596577&group_id=7586 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net