[Bug c++/51757] friend defined inside class and declared inside main linker error

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 5 01:34:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-05 01:34:21 UTC ---
Curious. It still fails even if there is a declaration of func at namespace
scope.

It works with -fkeep-inline-functions



More information about the Gcc-bugs mailing list