This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57550] [4.8/4.9 Regression] bogus "error ... is private"
- From: "ppluzhnikov at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Jun 2013 23:22:37 +0000
- Subject: [Bug c++/57550] [4.8/4.9 Regression] bogus "error ... is private"
- Auto-submitted: auto-generated
- References: <bug-57550-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57550
--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
(In reply to Andrew Pinski from comment #1)
> I think the problem is that you cannot take an address of a private static
> function as that would get around access controls.
Surely you can in a class member function.