In file included from BOOST_ROOT/boost/spirit/include/phoenix_stl.hpp:13: In file included from BOOST_ROOT/boost/spirit/home/phoenix/stl.hpp:12: In file included from BOOST_ROOT/boost/spirit/home/phoenix/stl/algorithm.hpp:14: In file included from BOOST_ROOT/boost/spirit/home/phoenix/stl/algorithm/querying.hpp:17: In file included from BOOST_ROOT/boost/spirit/home/phoenix/stl/algorithm/detail/has_find.hpp:23: In file included from BOOST_ROOT/boost/spirit/home/phoenix/stl/algorithm/detail/./is_std_map.hpp:23: BOOST_ROOT/boost/detail/container_fwd.hpp:122:24: error: class template 'complex' was previously declared as a struct template [-Werror,-Wmismatched-tags] template class complex; ^ /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/complex:123:12: note: previous use is here struct complex ^ BOOST_ROOT/boost/detail/container_fwd.hpp:122:24: note: did you mean struct here? template class complex; ^~~~~ struct 1 error generated.