
25 Sep
2012
25 Sep
'12
4:22 a.m.
Hi , While using Boost (ver 1.51.0) file "foreach.hpp" I am getting following errors: Boost/1.51/Inc/boost/foreach.hpp:454:5: error: cast from 'char*' to 'std::vector<std::pair<std::basic_string<char>, std::basic_string<char> >
*' increases required alignment of target type [-Werror=cast-align] cc1plus: all warnings being treated as errors
I need to use "Werror" flag in my application. Any solution for this problem? -- Regards, Gaurav