[Bug c++/86273] confusing diagnostic for member-declaration with missing identifier
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86273 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |13.0 See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=107188 --- Comment #3 from Jonathan Wakely --- Fixed by r13-4731-g147e276b580b67: c++: class-scope qualified constrained auto [PR107188]
[Bug c++/86273] confusing diagnostic for member-declaration with missing identifier
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86273 nightstrike changed: What|Removed |Added Known to work||13.1.0 Known to fail||12.4.0 --- Comment #2 from nightstrike --- This was fixed somewhere between 12 and 13 to give the following message using the reduced test: xxx.cc:6:8: error: declaration does not declare anything [-fpermissive] 6 | std::vector; |^ I can't ask for anything fairer than that!
[Bug c++/86273] confusing diagnostic for member-declaration with missing identifier
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86273
--- Comment #1 from Jonathan Wakely ---
Reduced:
namespace std {
template struct vector { };
}
struct Input {
std::vector;
};
id.cc:6:8: error: a template-id may not appear in a using-declaration
std::vector;
^
[Bug c++/86273] confusing diagnostic for member-declaration with missing identifier
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86273 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED |NEW Last reconfirmed||2018-06-21 Ever confirmed|0 |1
