JohannesEbke/a4 — Issue #42: Warning in variant.hpp with -Werror and gcc 4.4.3
Author: JohannesEbke
Created: 2011-10-26 09:32:37+00:00
State: open

/home/j/Johannes.Ebke/Projects/a4/miniboost/include/boost/variant/variant.hpp: In member function ‘std::string a4::io::A4Message::field_as_string(const std::string&)’:
/home/j/Johannes.Ebke/Projects/a4/miniboost/include/boost/variant/variant.hpp:858: error: dereferencing pointer ‘’ does break strict-aliasing rules
/home/j/Johannes.Ebke/Projects/a4/miniboost/include/boost/variant/detail/cast_storage.hpp:42: note: initialized from here