This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/79156] incorrect c++ usage in gcc7 <memory> void function returns a value
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jan 2017 20:50:17 +0000
- Subject: [Bug libstdc++/79156] incorrect c++ usage in gcc7 <memory> void function returns a value
- Auto-submitted: auto-generated
- References: <bug-79156-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79156
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to mib.bugzilla from comment #0)
> Changing "friend void" to "friend auto" would be a simple fix.
That wouldn't compile in C++11 mode. I think shouldn't return anything.