Nathan Ridge <zeratul...@hotmail.com> writes: >> On 3 July 2013 02:41, Nathan Ridge wrote: >>>> ./boost/bind/arg.hpp:37:22: warning: typedef ‘T_must_be_placeholder’ >>>> locally >>>> defined but not used [-Wunused-local-typedefs] >> >> It was new in GCC 4.7, http://gcc.gnu.org/gcc-4.7/changes.html > > I've seen spews of that warning for other large projects, such as > clang or wxWidgets, not just boost. > > Would GCC consider removing it from -Wall?
GCC doesn't emit this warning if such typedefs are annotated with __attribute__((__unused__)). We just need to fix all instances of this problem. So far I identified these there: - https://svn.boost.org/trac/boost/ticket/8844 (Boost.Bind) - https://svn.boost.org/trac/boost/ticket/8847 (Boost.ConceptCheck) - https://svn.boost.org/trac/boost/ticket/8859 (Boost.Serialization) Thanks, PM