diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 09:19:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-26 16:29:12 +0100 |
commit | 080bf84bffda29d10e46a9a8a37ec267f42e0eba (patch) | |
tree | e9e1d6e48c10bae9cc67488934ba432dd59ec9dc /external/boost/boost.spirit.Wunused-parameter.warnings.patch | |
parent | f97009d79fab5a6264ffb2f59d40b9e3d83ba41d (diff) |
clang: WaE: -Wunused-parameter
Change-Id: Ibd62d74d1244a29d7554837c3b39e76b87098b97
Diffstat (limited to 'external/boost/boost.spirit.Wunused-parameter.warnings.patch')
-rw-r--r-- | external/boost/boost.spirit.Wunused-parameter.warnings.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/external/boost/boost.spirit.Wunused-parameter.warnings.patch b/external/boost/boost.spirit.Wunused-parameter.warnings.patch new file mode 100644 index 000000000000..3487394694fd --- /dev/null +++ b/external/boost/boost.spirit.Wunused-parameter.warnings.patch @@ -0,0 +1,47 @@ +--- a/b/boost/boost/spirit/home/classic/debug/impl/parser_names.ipp ++++ a/b/boost/boost/spirit/home/classic/debug/impl/parser_names.ipp +@@ -95,7 +95,7 @@ + // from numerics.hpp + template <typename T, int Radix, unsigned MinDigits, int MaxDigits> + inline std::string +- parser_name(uint_parser<T, Radix, MinDigits, MaxDigits> const& p) ++ parser_name(uint_parser<T, Radix, MinDigits, MaxDigits> const&) + { + BOOST_SPIRIT_SSTREAM stream; + stream << Radix << ", " << MinDigits << ", " << MaxDigits; +@@ -106,7 +106,7 @@ + + template <typename T, int Radix, unsigned MinDigits, int MaxDigits> + inline std::string +- parser_name(int_parser<T, Radix, MinDigits, MaxDigits> const& p) ++ parser_name(int_parser<T, Radix, MinDigits, MaxDigits> const&) + { + BOOST_SPIRIT_SSTREAM stream; + stream << Radix << ", " << MinDigits << ", " << MaxDigits; +@@ -117,7 +117,7 @@ + + template <typename T, typename RealPoliciesT> + inline std::string +- parser_name(real_parser<T, RealPoliciesT> const& p) ++ parser_name(real_parser<T, RealPoliciesT> const&) + { + return std::string("real_parser"); + } +@@ -218,7 +218,7 @@ + // from parser.hpp + template <typename DerivedT> + inline std::string +- parser_name(parser<DerivedT> const& p) ++ parser_name(parser<DerivedT> const&) + { + return std::string("parser"); + } +@@ -227,7 +227,7 @@ + // from primitives.hpp + template <typename DerivedT> + inline std::string +- parser_name(char_parser<DerivedT> const &p) ++ parser_name(char_parser<DerivedT> const &) + { + return std::string("char_parser"); + } |