[Bug c++/60352] [C++11] Bogus "error: conflicting declaration 'auto i'"

2021-07-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60352

Andrew Pinski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #5 from Andrew Pinski  ---
Dup of bug 78217.

*** This bug has been marked as a duplicate of bug 78217 ***

[Bug c++/60352] [C++11] Bogus "error: conflicting declaration 'auto i'"

2019-06-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60352

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-06-17
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #4 from Marek Polacek  ---
Confirmed.

[Bug c++/60352] [C++11] Bogus "error: conflicting declaration 'auto i'"

2017-12-08 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60352

--- Comment #3 from Richard Smith  ---
This bug still exists in GCC trunk.

[Bug c++/60352] [C++11] Bogus "error: conflicting declaration 'auto i'"

2016-09-22 Thread ott at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60352

--- Comment #2 from Giuseppe Ottaviano  ---
It still happens in GCC 7: https://godbolt.org/g/GgyCZn

[Bug c++/60352] [C++11] Bogus "error: conflicting declaration 'auto i'"

2016-09-22 Thread ott at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60352

Giuseppe Ottaviano  changed:

   What|Removed |Added

 CC||ott at fb dot com

--- Comment #1 from Giuseppe Ottaviano  ---
I've also run into this, and there's a stackoverflow thread from last year
about this bug:
http://stackoverflow.com/questions/28835198/extern-function-pointer-declaration-and-type-infered-definition

Can GCC devs confirm it? Is there any workaround?