This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59480] Missing error diagnostic: friend declaration specifying a default argument must be a definition
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Aug 2015 14:43:42 +0000
- Subject: [Bug c++/59480] Missing error diagnostic: friend declaration specifying a default argument must be a definition
- Auto-submitted: auto-generated
- References: <bug-59480-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59480
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2014-12-14 00:00:00 |2015-8-24
CC| |manu at gcc dot gnu.org
--- Comment #3 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
Strangely enough, this is one of the bugs in GCC that OpenMandriva developers
present as a reason for them switching to Clang as the default compiler.
http://mirror.as35701.net/video.fosdem.org//2015/devroom-llvm_toolchain/openmandriva__CAM_ONLY.mp4
(around 16:00)
class A {
friend void b(int, const char *s= 0);
};