office-gobmx/external/boost/boost.bind.Wunused-local-typedefs.warnings.patch
Michael Stahl 11230fb841 boost: split boost.wunused-local-typedefs.patch
Change-Id: I3b87643c1853ceaed3d2422a7340a931bb0c5850
2014-04-14 17:42:27 +02:00

11 lines
383 B
Diff

--- misc/boost_1_44_0/boost/bind/arg.hpp
+++ misc/build/boost_1_44_0/boost/bind/arg.hpp
@@ -35,6 +35,8 @@
{
// static assert I == is_placeholder<T>::value
typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];
+ T_must_be_placeholder dummy; (void) dummy;
+ // silence -Werror=unused-local-typedefs (GCC 4.8)
}
};