This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41020] [4.5 Regression] Can't declare an extern "C" friend.
- From: "davek at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2009 16:17:40 -0000
- Subject: [Bug c++/41020] [4.5 Regression] Can't declare an extern "C" friend.
- References: <bug-41020-14373@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from davek at gcc dot gnu dot org 2009-08-10 16:17 -------
(In reply to comment #2)
> Apart from the semi-colon after the extern "C" block the code is valid and this
> is a recent regression on trunk.
I am fairly sure that a semi-colon after a block statement like that is
unnecessary, but not actually invalid. It certainly makes no difference to the
testcase whether it is present or absent.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41020