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

             Bug #: 54372
           Summary: __attribute__((unused)) doesn't work with unused local
                    typedef in template function.
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: fl...@flast.jp


GCC 4.8 warns unused local typedefs and can suppres it with
__attribute__((unused)).
However, in member or non-member template function, it doesn't work with
dependent type.

I tested attached code.

Reply via email to