https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82125
Jonathan Wakely changed:
What|Removed |Added
CC||shlomo at fastmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82125
--- Comment #3 from Jonathan Wakely ---
>From PR 103583:
Compiling the following with gcc -c:
struct A {
int *begin();
// int *end();
};
void foo(A a) {
for (auto it : a) { }
}
shows two error messages:
error: ‘begin’ was not decl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82125
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82125
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed|2017-09-07 00:00:00 |2021-7-23
--- Comment #2 from Andrew Pin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82125
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|