[Regex & ICU] boost::regex & icu compilation warnings: missing #pragma pack(pop)

warnings in directory d:\ d:\boost_1_41\boost\regex\v4\u32regex_iterator.hpp(25) : warning C4103: 'd:\boost_1_41\boost\regex\v4\u32regex_iterator.hpp' : alignment changed after including header, may be due to missing #pragma pack(pop) d:\boost_1_41\boost\regex\v4\u32regex_iterator.hpp(187) : warning C4103: 'd:\boost_1_41\boost\regex\v4\u32regex_iterator.hpp' : alignment changed after including header, may be due to missing #pragma pack(pop) d:\boost_1_41\boost\regex\v4\u32regex_token_iterator.hpp(38) : warning C4103: 'd:\boost_1_41\boost\regex\v4\u32regex_token_iterator.hpp' : alignment changed after including header, may be due to missing #pragma
d:\boost_1_41\boost\regex\v4\u32regex_token_iterator.hpp(368) : warning C4103: 'd:\boost_1_41\boost\regex\v4\u32regex_token_iterator.hpp' : alignment changed after including header, may be due to missing #pragma
Wondering if this is a known issue and there is a solution to fix this build warning when you are compiling boost::regex with ICU library. pack(pop) pack(pop) Cheers, HT

Wondering if this is a known issue and there is a solution to fix this build warning when you are compiling boost::regex with ICU library.
I believe you will see that if you build (or use) regex with non-default alignment options. I don't believe you should see it otherwise. Unfortunately it's next to impossible to suppress without going to Herculean extents :-( HTH, John.
participants (2)
-
Henry Tan
-
John Maddock