diff --git a/include/mapnik/value.hpp b/include/mapnik/value.hpp index 99d345d01..ff37341c5 100644 --- a/include/mapnik/value.hpp +++ b/include/mapnik/value.hpp @@ -30,6 +30,7 @@ // boost #include #include +#include // stl #include #include @@ -440,6 +441,7 @@ namespace mapnik { template bool operator() (T val) const { + boost::ignore_unused_variable_warning(val); throw config_error("Boolean value expected"); } @@ -476,6 +478,7 @@ namespace mapnik { std::string operator() (value_null const& val) const { + boost::ignore_unused_variable_warning(val); return ""; } }; @@ -506,6 +509,7 @@ namespace mapnik { UnicodeString operator() (value_null const& val) const { + boost::ignore_unused_variable_warning(val); return UnicodeString(""); } }; @@ -536,6 +540,7 @@ namespace mapnik { std::string operator() (value_null const& val) const { + boost::ignore_unused_variable_warning(val); return "null"; } };