$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] Boost:Foreach Werror flag's problem in foreach.hpp
From: GAURAV GUPTA (ya1gaurav_at_[hidden])
Date: 2012-09-25 00:22:45
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