This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/59480] Missing error diagnostic: friend declaration specifying a default argument must be a definition


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);
};

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]