This is the mail archive of the gcc-patches@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]

Re: [RFA] PR c++/41020


Jason Merrill wrote:

> In any case, a friend declaration should not match a builtin
> declaration.  It shouldn't give an error, either, it should declare a
> different function.

  How do I make a non-friend declaration for that "different" function, so
that I can specify an extern C "previous linkage" for the friend declaration
to "retain"?

    cheers,
      DaveK



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