[Bug c++/81608] incompatible declarations of the same extern function at different scopes accepted

2017-08-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81608

Martin Sebor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Martin Sebor  ---
It looks that way.  Thanks for the pointer!

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

[Bug c++/81608] incompatible declarations of the same extern function at different scopes accepted

2017-08-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81608

--- Comment #2 from Jonathan Wakely  ---
See PR 69855 comment 2 - is this a dup?

[Bug c++/81608] incompatible declarations of the same extern function at different scopes accepted

2017-07-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81608

--- Comment #1 from Andrew Pinski  ---
I think there might be a duplicate of this bug already. It was noticed when
Zack (or was it joseph) implemented the correct behavior for the c front-end.
This was during the 3.4 time frame.