[Bug c++/91608] New: [10 warning] wrong comma-subscript warning
h2+bugs at fsfe dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 12:19:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91608
Bug ID: 91608
Summary: [10 warning] wrong comma-subscript warning
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: h2+bugs at fsfe dot org
Target Milestone: ---
With gcc10 and std=c++2a I am seeing
error: top-level comma expression in array subscript is deprecated
[-Werror=comma-subscript]
on
return names[meta::find_index<types, type>::value];
But that's not a top-level comma-expression. It's part of the template
specialisation...
More information about the Gcc-bugs
mailing list