http://d.puremagic.com/issues/show_bug.cgi?id=3960



--- Comment #33 from bearophile_h...@eml.cc 2012-10-21 04:39:22 PDT ---
A related warning is for "unused local alias".

A bug in GCC, libstdc++/33084, in <valarrray> function with this body:


typedef _BinClos<_Name, _Constant, _ValArray, _Tp, _Tp> _Closure;

typedef typename __fun<_Name, _Tp>::result_type _Rt;

return _Expr<_Closure, _Tp>(_Closure(__t, __v));


There is a typo: _Rt  ->  _Tp

In GCC 4.7, the -Wunused-local-typedefs warning detects such sort of suspect
"unused" typedef.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to