--- boost/spirit/home/support/attributes.hpp 2010-08-20 11:57:12.000000000 +0200 +++ boost/spirit/home/support/attributes.hpp 2010-08-23 18:53:15.000000000 +0200 @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -900,7 +901,7 @@ template struct print_attribute_debug > { - static void call(Out& out, T const& val) + static void call(Out& out, boost::optional const& val) { if (val) print_attribute(out, *val);