https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84360

            Bug ID: 84360
           Summary: unnecessary aka in error message
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: drepper.fsp+rhbz at gmail dot com
  Target Milestone: ---

This applies to gcc 7.3.1 as well, I tested the current 8 top of the tree as
well.  Compile with g++:

#include <utility>
using T = std::tuple<int,int,int>;
T g() { return std::make_tuple(1,2,3); }

The error messages include:

v.cc:3:5: error: return type ‘using T = class std::tuple<int, int, int>’ {aka
‘class std::tuple<int, int, int>’} is incomplete
 T g() { return std::make_tuple(1,2,3); }
     ^

Note the superfluous aka.

Reply via email to