public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-33255-4@http.gcc.gnu.org/bugzilla/>]
* [Bug c++/33255]  New: A warning for "unused" typedefs?
@ 2007-08-30 23:21 pcarlini at suse dot de
  2007-08-30 23:30 ` [Bug c++/33255] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 30+ messages in thread
From: pcarlini at suse dot de @ 2007-08-30 23:21 UTC (permalink / raw)
  To: gcc-bugs

Just a wild idea, motivated by libstdc++/33084: in that case we had a 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));

where the fact that _Rt was completely pointless clearly hinted to a bug, a
typo _Tp -> _Rt in the last line. Would it make sense to add an option to the
front-end to warn in such cases?


-- 
           Summary: A warning for "unused" typedefs?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pcarlini at suse dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33255


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2012-08-22 21:00 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-33255-16141@http.gcc.gnu.org/bugzilla/>
2008-06-09 13:37 ` [Bug c++/33255] A warning for "unused" typedefs? paolo dot carlini at oracle dot com
2008-06-09 14:07 ` gdr at cs dot tamu dot edu
     [not found] <bug-33255-4@http.gcc.gnu.org/bugzilla/>
2011-07-22 16:50 ` dodji at gcc dot gnu.org
2011-07-22 17:01 ` paolo.carlini at oracle dot com
2011-07-24 21:59 ` dodji at gcc dot gnu.org
2011-07-24 22:10 ` dodji at gcc dot gnu.org
2011-07-24 22:34 ` paolo.carlini at oracle dot com
2011-07-24 22:38 ` paolo.carlini at oracle dot com
2011-07-24 22:50 ` paolo.carlini at oracle dot com
2011-07-24 22:54 ` paolo.carlini at oracle dot com
2011-07-25 11:18 ` dodji at seketeli dot org
2011-07-25 11:44 ` paolo.carlini at oracle dot com
2011-07-25 14:29 ` dodji at seketeli dot org
2011-07-25 17:32 ` dodji at gcc dot gnu.org
2011-07-27 18:10 ` dodji at gcc dot gnu.org
2011-09-08 13:57 ` dodji at gcc dot gnu.org
2011-09-08 21:22 ` dodji at seketeli dot org
2011-11-07 17:53 ` jason at gcc dot gnu.org
2012-08-22 21:00 ` paolo.carlini at oracle dot com
2007-08-30 23:21 [Bug c++/33255] New: " pcarlini at suse dot de
2007-08-30 23:30 ` [Bug c++/33255] " pinskia at gcc dot gnu dot org
2007-08-30 23:33 ` pcarlini at suse dot de
2007-08-30 23:43 ` gdr at cs dot tamu dot edu
2007-08-30 23:46 ` pcarlini at suse dot de
2007-08-30 23:51 ` gdr at cs dot tamu dot edu
2007-08-30 23:59 ` pcarlini at suse dot de
2007-08-31  0:06 ` gdr at cs dot tamu dot edu
2007-08-31  0:34 ` fang at csl dot cornell dot edu
2007-08-31  1:04 ` gdr at cs dot tamu dot edu
2007-08-31  8:41 ` pcarlini at suse dot de
2007-08-31  8:44 ` pcarlini at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).